Submission #5233

# Submission time Handle Problem Language Result Execution time Memory
5233 2014-02-21T02:58:22 Z jspark19990205 0 = not cute / 1 = cute (kriii1_0) C++
0 / 1
0 ms 1088 KB
#include<stdio.h>

int main()
{
    int n,i,j,cute,ncute;
    scanf("%d",&n);
    for(i=0;i<n;i++)
    {
        scanf("%d",&j);
        if(j==1)
        {
            cute= cute+1;
        }
        else
        {
            ncute = ncute+1;
        }
    }
    if(cute>ncute)
    {
        printf("Junhee is cute!\n");
    }
    else
    {
        printf("Junhee is not cute!\n");
    }
    return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -