Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
104472 陈铎文 11下一次奥运会 C++ Accepted 1 MS 268 KB 217 2025-01-05 10:44:13

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,n=1; cin>>a; while(1){ if(n>a and n%4==0){ break; } n++; } cout<<n-a; return 0; }