제출 #94175

#제출 시각아이디문제언어결과실행 시간메모리
94175MrTEKProsjecni (COCI16_prosjecni)C++14
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>

using namespace std;

typedef long long int ll;
typedef pair<int,int> ii;

const int N = 1e5 + 5;

int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL); cout.tie(NULL);
  if (n != 2)
    cout << "-1\n";
}

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

prosjecni.cpp: In function 'int main()':
prosjecni.cpp:13:7: error: 'n' was not declared in this scope
   if (n != 2)
       ^