# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
3279 | 2013-08-30T10:19:09 Z | GhostCode | 0 = not cute / 1 = cute (kriii1_0) | C++ | 0 ms | 0 KB |
#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!"); }