Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
161609 王垚植 11下一次奥运会 C++ Accepted 1 MS 272 KB 299 2026-10-06 13:19:11

Tests(10/10):


Code:

#include<bits/stdc++.h> 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; }