Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
1975 | 杨洋杰 | 11下一次奥运会 | C++ | Wrong Answer | 0 MS | 264 KB | 248 | 2023-12-02 22:04:57 |
#include<iostream> using namespace std; int main(){ int y; cin>>y; if(y>=2000&&y<=5000){ if(y%4==0){ cout<<4<<endl; } else{ cout<<4-y%4<<endl; } } return 0; }
------Input------
5291
------Answer-----
1
------Your output-----