# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
12729 | ainu7 | 0 = not cute / 1 = cute (kriii1_0) | C++98 | 0 ms | 1676 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 <math.h>
#include <stdio.h>
#include <string.h>
#include <vector>
#include <string>
#include <queue>
#include <map>
#include <algorithm>
#include <cmath>
#include <iostream>
#include <sstream>
#include <set>
using namespace std;
int main()
{
int N;
cin >> N;
int a = 0, b = 0;
for (int i=0; i<N; i++) {
int t;
cin >> t;
if (!t) a ++; else b ++;
}
if (a > b) printf("Junhee is not cute!\n"); else printf("Junhee is cute!\n");
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |