Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
71097 sh25_wangtaojie 计算星期几 C++ 编译错误 0 MS 0 KB 539 2025-10-24 14:48:37

Tests(0/0):


#include <iostream> using namespace std; int main() { int a,b; cin>>a>>b; if(a*b%7==0) { cout<<"Saturday"; } else if(a*b%7==1) { cout<<"Sunday"; } else if(a*b%7==2) { cout<<"Monday"; } else if(a*b%7==3) { cout<<"Tuesday"; } else if(a*b%7==4) { cout<<"Wednesday"; { else if(a*b%7==5) { cout<<"Thursday"; } else if(a*b%7==6) { cout<<"Friday"; } return 0; }


测评信息: