Submission #12729

#TimeUsernameProblemLanguageResultExecution timeMemory
12729ainu70 = not cute / 1 = cute (kriii1_0)C++98
1 / 1
0 ms1676 KiB
#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 timeMemoryGrader output
Fetching results...