Submission #4216

#TimeUsernameProblemLanguageResultExecution timeMemory
4216dbfud0 = not cute / 1 = cute (kriii1_0)C++98
1 / 1
0 ms1672 KiB
#include <iostream> using namespace std; int main() { int ques = 0 ; cin >> ques ; int cuteTrues = 0; int data = 0; for( int i = 0; i < ques ; i++ ) { cin >> data ; if ( data == 1 ) cuteTrues++ ; } if ( (ques-cuteTrues) > cuteTrues ) cout << "Junhee is not cute!"; else cout << "Junhee is cute!"; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...