Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
66544 李明择 11下一次奥运会 C++ Accepted 1 MS 272 KB 265 2024-03-09 13:19:39

Tests(10/10):


Code:

# include<iostream> # include<cmath> using namespace std; int main(){ int y,a=0; cin>>y; if(y%4==0){ a+=4; } else if(y%4==1){ a+=4-1; } else if(y%4==2){ a+=4-2; } else if(y%4==3){ a+=4-3; } cout<<a; return 0; }