Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
96865 | 高楷伦 | 11下一次奥运会 | C++ | Wrong Answer | 1 MS | 264 KB | 306 | 2024-11-09 17:18:24 |
# include<iostream> # include<cstdio> # include<iomanip> using namespace std; int main(){ int y,f=0; cin>>y; f=y; y=y%4; if(y%4==0){ y=4; cout<<y; return 0; } else{ f=f%4; cout<<f; return 0; } return 0; }
------Input------
6045
------Answer-----
3
------Your output-----
1