mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 20:48:48 +00:00
654. 时间转换
https://www.acwing.com/problem/content/submission/code_detail/6835409/
This commit is contained in:
parent
021c141451
commit
33bdf7d748
10
AcWing/654/654.cpp
Normal file
10
AcWing/654/654.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int a;
|
||||
cin >> a;
|
||||
cout << a / 3600 << ':' << a % 3600 / 60 << ':' << a % 60 << endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user