题解
2024-10-22 21:35:34
发布于:浙江
4阅读
0回复
0点赞
#include <iostream>
using namespace std;
int main(){
int n;
cin>>n;
if (n%70){
cout <<"monday";
}else if (n%71){
cout <<"tuesday";
}else if (n%72){
cout <<"wednesday";
}else if (n%73){
cout <<"thursday";
}else if (n%74){
cout <<"friday";
}else if (n%75){
cout <<"saturday";
}else {
cout <<"sunday";
}
return 0;
}
这里空空如也
有帮助,赞一个