# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
5936 | jspark19990205 | 0 = not cute / 1 = cute (kriii1_0) | C++98 | 0 ms | 1088 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<stdio.h>
#include<stdlib.h>
int d[1][101];
int main()
{
int i,j,cnt;
int cnt1 = 0,cnt0 = 0;
scanf("%d",&i);
for(cnt=0;cnt<i;cnt++)
{
scanf("%d",&d[1][cnt]);
}
for(j=0;j<cnt;j++)
{
if(d[1][j]==1)
{
cnt1++;
}
else
{
cnt0++;
}
}
if(cnt1>cnt0)
{
printf("Junhee is cute!\n");
}
else
{
printf("Junhee is not cute!\n");
}
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |