Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2d23bc8

Browse files
Codechef Sep. Cook-Off 21
1 parent b62094e commit 2d23bc8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

‎Codechef/COOK133/Cars_and_Bikes.cpp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#include <bits/stdc++.h>
2+
using namespace std;
3+
// Contributed by Shrimad Bhagwat
4+
5+
typedef long long ll;
6+
int main() {
7+
int t;
8+
cin >> t;
9+
while(t--){
10+
int n;
11+
cin >> n;
12+
if(n%4==0){
13+
cout << "NO" << endl;
14+
}
15+
else{
16+
cout << "YES" << endl;
17+
}
18+
}
19+
return 0;
20+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /