-
个人简介
#include"bits/stdc++.h" #include"unistd.h" using namespace std; int main() { int s=0,m=0,h=0; while(true) { s=s+1; if(s60) { m=m+1; if(m60) { h=h+1; if(h=24) { h=0; } m=0; } s=0; } sleep(1); cout<<" "<<"时间"<<h<<":"<<m<<":"<<s<<endl<<"================================================================================"<<endl; } return 0; }
-
通过的题目
-
最近活动
This person is lazy and didn't join any contests or homework.
题目标签
- 初窥门径
- 7
- 顺序结构
- 7