# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
3282 | GhostCode | 0 = not cute / 1 = cute (kriii1_0) | C++98 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <stdio.h>
#define MAX_N 101
void main()
{
int N=0;
int input_temp=-1;
int num_cute=0;
int num_not_cute=0;
scanf("%d", &N);
for(int i=0;i<N;i++)
{
input_temp=-1;
scanf("%d", &input_temp);
if(input_temp==0) num_not_cute++;
else if(input_temp==1) num_cute++;
}
if(num_not_cute>num_cute) printf("Junhee is not cute!");
else if(num_not_cute<num_cute) printf("Junhee is cute!");
}