Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101966 王煜鑫 11下一次奥运会 C++ Accepted 1 MS 272 KB 167 2024-12-21 10:43:31

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int y,n,a; cin>>y; a=4-((y-2000)%4); if(a==0){ cout<<"4"; } else{ cout<<a; } }