解题思路:
注意事项:
参考代码:
#include <iostream>
#include <deque>
#include <string>
#include <iterator>
#include <numeric>
#include <cmath>
#include <cstdlib>
#include <sstream>
#include <iomanip>
#include <algorithm>
#include <string.h>
using namespace std;
int main(){
int n;
cin>>n;
cout<<n/3600<<":"<<n%3600/60<<":"<<n%3600%60<<endl;
return 0;
}
0.0分
0 人评分
回文数字 (C++代码)浏览:838 |
蛇行矩阵 (C++代码)(预生成结果以节省每次生成的时间)浏览:822 |
C语言程序设计教程(第三版)课后习题5.7 (C语言代码)浏览:687 |
C语言训练-求s=a+aa+aaa+aaaa+aa...a的值 (C语言代码)浏览:613 |
三角形 (C++代码)记忆化搜索浏览:1234 |
The 3n + 1 problem (C语言代码)浏览:554 |
最小公倍数 (C语言代码)浏览:1029 |
用筛法求之N内的素数。 (C语言代码)浏览:532 |
C语言训练-字符串正反连接 (C语言代码)浏览:632 |
1250题解浏览:561 |