Submission #3316

#TimeUsernameProblemLanguageResultExecution timeMemory
3316pmpmp0 = not cute / 1 = cute (kriii1_0)C11
0 / 1
0 ms1080 KiB
#include <stdio.h> int n, a, pa, pb; int main () { freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); int i, j, k; scanf("%d", &n); for(i=1;i<=n;i++){scanf("%d", &a); if(a==0){pa++;} else{pb++;}} if(pa<pb){printf("Junhee is cute!");} else{printf("Junhee is not cute!");} }
#Verdict Execution timeMemoryGrader output
Fetching results...