Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
8153 | 侯宜辰 | 11下一次奥运会 | C++ | Accepted | 0 MS | 264 KB | 488 | 2025-06-14 19:59:36 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,s; cin>>a; if(a%4==0){ cout<<"4"; } else if(a%4==1){ cout<<"3"; } else if(a%4==2){ cout<<"2"; } else if(a%4==3){ cout<<"1"; } return 0; }