Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codechef Sep. Cook-Off 21 #79

Merged
merged 1 commit into from
Sep 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Codechef Sep. Cook-Off 21
  • Loading branch information
Shrimad-Bhagwat committed Sep 22, 2021
commit 2d23bc8be89c361376d29f701be2bd749764e791
20 changes: 20 additions & 0 deletions Codechef/COOK133/Cars_and_Bikes.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#include <bits/stdc++.h>
using namespace std;
// Contributed by Shrimad Bhagwat

typedef long long ll;
int main() {
int t;
cin >> t;
while(t--){
int n;
cin >> n;
if(n%4==0){
cout << "NO" << endl;
}
else{
cout << "YES" << endl;
}
}
return 0;
}