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