仅仅只有281天就要考CSP了
#include<bits/stdc++.h>
#include<ctime>
#include<windows.h>
using namespace std;
int main(){
while(true){
cout<<"距离CSP-J还有"<<1758418200 - time(0)<<"秒"<<endl;
cout<<"距离CSP-J还有"<<fixed<<setprecision(3)<<(1758418200 - time(0)) / 60.0<<"分"<<endl;
cout<<"距离CSP-J还有"<<fixed<<setprecision(5)<<(1758418200 - time(0)) / 3600.0<<"小时"<<endl;
cout<<"距离CSP-J还有"<<fixed<<setprecision(7)<<(1758418200 - time(0)) / 86400.0<<"天"<<endl;
cout<<"共"<<(1758418200 - time(0)) / 86400<<"天"<<(1758418200 - time(0)) % 86400 / 3600<<"小时"<< (1758418200 - time(0)) % 3600 / 60<<"分钟"<<(1758418200 - time(0)) % 60<<"秒";
Sleep(1000);
system("cls");
}
}