My issue
code is running but not submtting
My code
#include <stdio.h>
int main() {
int t, N; // t is the number of test cases, N is the integer for each test case
// Accept the number of test cases
scanf("%d", &t);
// Loop over each test case
for (int i = 0; i < t; i++) {
// Accept the integer N for the current test case
scanf("%d", &N);
// Conditional statements to check the value of N
if (N <= 100) {
printf("Good\n");
} else if (N > 100 && N <= 200) {
printf("Better\n");
} else {
printf("Best\n");
}
}
return 0;
}
Learning course: Algorithmic Problem Solving
Problem Link: https://www.codechef.com/learn/course/klu-problem-solving/KLUPS10/problems/CSCP02A