Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem G: 时间问题-倒计时练习
Problem G: 时间问题-倒计时练习
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
340
Solved:
207
[
Status
] [
Submit
] [Creator:
]
Description
做一个n秒倒计时 (0<n<=60)
到0分0秒的时候结束
Input
一个秒数n
Output
以分秒的形式的倒计时
Sample Input
Copy
60
Sample Output
Copy
01:00 00:59 00:58 ... 00:00
HINT
提交时将#include<windows.h>和Sleep(1000)删掉