Submission #12835

# Submission time Handle Problem Language Result Execution time Memory
12835 2015-01-10T00:02:30 Z yongwhan 0 = not cute / 1 = cute (kriii1_0) C++
Compilation error
0 ms 0 KB
#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

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