Submission #12835

#TimeUsernameProblemLanguageResultExecution timeMemory
12835yongwhan0 = not cute / 1 = cute (kriii1_0)C++98
Compilation error
0 ms0 KiB
#include<iostream>
using namespace std;

int main() {
  int n; cin>>n;
  int ct=0,x;
  for (int i=0; i<n; i++) {
    cin>>x;
    if(x) ct++;
  }
  if(ct>N-ct) cout << "Junhee is cute!" << endl;
  else cout << "Junhee is not cute!" << endl;
  return 0;
}

Compilation message (stderr)

0.cpp: In function 'int main()':
0.cpp:11:9: error: 'N' was not declared in this scope