Complete the Credits Solution
Codechef February Cook-Off 2022
Problem Code : CREDITS
Solution :
#include <bits/stdc++.h>
#define ll long long int
#define ull unsigned long long int
using namespace std;
void solve()
{
ll x;
cin >> x;
if (x >= 35 && x <= 65)
cout << "Normal\n";
else if (x > 65)
cout << "Overload\n";
else
cout << "Underload\n";
}
int main()
{
ll t;
cin >> t;
while (t--)
{
solve();
}
}
Comments
Post a Comment