8 条题解
-
4葛伊睿 LV 8 @ 2017-10-26 16:49:19
t=int(input())
h=t//3600
m=(t-h*3600)//60
s=t-h*3600-m*60print(h,m,s)
-
22020-09-16 22:58:28@
#python3
t=int(input()) h=t//3600 m=(t-h*3600)//60 s=t-h*3600-m*60 print(h,m,s)
-
12019-11-28 22:17:08@
t=int(input())
h=t//3600
m=(t-(3600*h))//60
s=(t-(3600*h))-60*m
print(h,m,s) -
12019-03-06 17:23:00@
这是我的第三个程序
"""
Created on Web Feb 27 13:04:00 2019@author:g2121122
"""
import math
t=int(input())
H=t//3600
M=(t-H*3600)//60
S=t-H*3600-M*60
print(H,M,S) -
12018-10-22 22:52:27@
c++版
#include <stdio.h> inline int read() { char ch=getchar(); int x=0,f=1; while(!isdigit(ch)) { if(ch=='-') f=-1; ch=getchar(); } while(isdigit(ch)) { x=x*10+ch-'0'; ch=getchar(); } return x*f; } int n; int main() { n=read(); printf("%d %d %d",n/3600,(n%3600)/60,n%60); return 0; }
-
12017-09-06 20:22:55@
http://www.runoob.com/python3/python3-basic-operators.html
这个网址有好多运算符很好用。 -
02019-12-12 11:45:07@
t=int(input())
H=int(t/3600)
M=int((t-H*3600)/60)
S=int(t-H*3600-M*60)
print(H,M,S) -
02018-11-22 15:39:31@
t=int(input())
H=int(t/3600)
M=int((t-H*3600)/60)
S=int(t-H*3600-M*60)
print(H,M,S)
- 1
信息
- 难度
- 4
- 分类
- (无)
- 标签
- (无)
- 递交数
- 6192
- 已通过
- 1595
- 通过率
- 26%
- 被复制
- 1
- 上传者