tijie
2023-08-17 17:52:50
发布于:广东
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
long long a;
cin>>a;
a%=7;
long long c=a%7%7%7%7%7%7;
if(c==1){
cout<<"tuesday";
}else if(c==2){
cout<<"wednesday";
}else if(c==3){
cout<<"thursday";
}else if(c==4){
cout<<"friday";
}else if(c==5){
cout<<"saturday";
}else if(c==6){
cout<<"sunday";
}else if(c==0){
cout<<"monday";
}
return 0;
}
这里空空如也
有帮助,赞一个