Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
RGB7014 - Цаг, минут, секунд -> секунд |
Өгөгдсөн цаг, минут, секундыг секунд рүү шилжүүл.
Input
Цаг, минут, секунд зайгаар тусгаарлагдан нэг мөрөнд Int төрлөөр өгөгдөнө.
Output
Секунд гарна.
Example
Input: 1 2 3 Output: 3723
Нэмсэн: | Bataa |
Огноо: | 2011-05-15 |
Хугацааны хязгаарлалт: | 0.5s |
Эх кодын хэмжээний хязгаарлалт: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Програмчлалын хэлүүд: | ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE |
hide comments
|
|||||||||||
2023-09-25 17:25:36
7-1 iin gomo tengis 7-1 saraanad sn #include <iostream> using namespace std; int main() { int s,m,t,c,h,n; cin>>t>>m>>n; c=t*3600; h=m*60; s=n+h+c; cout<<s<<endl; } |
|||||||||||
2023-05-29 07:02:42
#include <iostream> using namespace std; int main() { int s, m, t, c, h, n; cin>>t>>m>>n; c=t*3600; h=m*60; s=n+h+c; cout<<s; return 0; } . |
|||||||||||
2023-03-21 06:15:51
#include <stdio.h> #include <math.h> int main() { int a,b,c,d,f; scanf("%d%d%d" ,&a,&b,&c); d=a*60+b; f=d*60+c; printf("%d" ,f); return 0; } haluun maruujin Last edit: 2023-03-21 06:17:04 |
|||||||||||
2022-12-01 07:28:47
search up glock in google and go to imeages |
|||||||||||
2022-12-01 07:28:47
search up glock in google and go to imeages |
|||||||||||
2022-12-01 07:28:46
search up glock in google and go to imeages |
|||||||||||
2022-12-01 07:28:45
search up glock in google and go to imeages |
|||||||||||
2022-12-01 07:28:44
search up glock in google and go to imeages |
|||||||||||
2022-11-14 08:56:41
#include <iostream> using namespace std; int main() { int min, sec, tsag; cin>>tsag>>min>>sec; min+=tsag*60; sec+=min*60; cout<<sec; return 0; } Huul ged bga garuud oorsdoo huul |
|||||||||||
2022-10-13 10:21:23
#include <iostream> using namespace std; int main() { int a,b,c,d,e,f; cin>>a>>b>>c; d=(a*60)*60; e=b*60; f=d+e+c; cout<<f; } free huulalt |