제출 #12835

#제출 시각아이디문제언어결과실행 시간메모리
12835yongwhan0 = not cute / 1 = cute (kriii1_0)C++98
컴파일 에러
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; }

컴파일 시 표준 에러 (stderr) 메시지

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