Good Program Solution
Codechef February Lunchtime 2022
Problem Code : NIBBLE
Solution :
#include <bits/stdc++.h>
#define ll long long int
#define ull unsigned long long int
using namespace std;
void solve()
{
ll n;
cin >> n;
if (n % 4)
{
cout << "Not Good\n";
}
else
{
cout << "Good\n";
}
}
int main()
{
ll t;
cin >> t;
while (t--)
{
solve();
}
}
Comments
Post a Comment