Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
108267 | 周子潇 | 11下一次奥运会 | C++ | Accepted | 1 MS | 272 KB | 348 | 2025-01-20 09:03:56 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() using namespace std; int main(){ int y; cin>>y; if(y%4==0) { cout<<4; } if(y%4==1) { cout<<3; } if(y%4==2) { cout<<2; } if(y%4==3) { cout<<1; } return 0; }