Submission #3286

#TimeUsernameProblemLanguageResultExecution timeMemory
3286GhostCode0 = not cute / 1 = cute (kriii1_0)C++98
1 / 1
0 ms1088 KiB
#include <stdio.h> #define MAX_N 101 int 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!"); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...