Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
1195 | 大聪明 | 时分秒转换 | C++ | Compile Error | 0 | 0 MS | 0 KB | 193 | 2019-10-06 11:11:20 |
#include using namespace std;int main(void) { int t, h, m, s; cin >> t; h = t / 3600; m = t / 60 % 60; s = t%60; cout << h << "小时" << m << "分" << s <<"秒" << endl; return 0; }