5 days 16:04 long starting on October 14, 2025, 7:55 CST
Comments
0
302025315074commented on Oct. 14, 2025, 12:14 a.m.
include<iostream>
using namespace std;
int main() {
int N;
while (cin >> N) {
if (N % 4 == 0) {
cout << N<<"is the olympic year." << endl;
}
else {
cout << N<<"is not the olympic year.";
}
}
return 0;
}
0
302025315384commented on Oct. 14, 2025, 12:13 a.m.
include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
if(n%4==0)
cout<<n<<"is the olympic year."<<endl;
else cout<<n<<"is not the olympic year."<<endl;
return 0;
}
Comments
include<iostream>
using namespace std; int main() { int N; while (cin >> N) { if (N % 4 == 0) { cout << N<<"is the olympic year." << endl; } else { cout << N<<"is not the olympic year."; } }
}
include<iostream>
using namespace std; int main(){ int n; cin>>n; if(n%4==0) cout<<n<<"is the olympic year."<<endl; else cout<<n<<"is not the olympic year."<<endl; return 0; }