Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
159022 杨正蠔 11下一次奥运会 C++ Accepted 1 MS 280 KB 427 2026-08-25 10:20:45

Tests(10/10):


Code:

#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 n,x; cin>>n; x=n%4; if(x==0){cout<<4<<endl;} if(x==1){cout<<3<<endl;} if(x==2){cout<<2<<endl;} if(x==3){cout<<1<<endl;} return 0; }