Submission #3316

# Submission time Handle Problem Language Result Execution time Memory
3316 2013-08-30T11:37:29 Z pmpmp 0 = not cute / 1 = cute (kriii1_0) C
0 / 1
0 ms 1080 KB
#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 time Memory Grader output
1 Runtime error 0 ms 1080 KB open (syscall #2) was called by the program (disallowed syscall)
2 Halted 0 ms 0 KB -