답안 #345307

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
345307 2021-01-07T07:15:27 Z Erzhan06 결혼 문제 (IZhO14_marriage) C++17
컴파일 오류
0 ms 0 KB
#include <bits/stdc++.h>
using namespace std;
#define nl "\n"
#define bananas return 0;
#define ll long long
#define IOS ios_base :: sync_with_stdio(NULL); cin.tie(0); cout.tie(0);
const int N=2e5+6;
const int INF=1e9+6;
int main() {
//freopen("divide.in", "r", stdin);
//freopen("divide.out", "w", stdout);
IOS
  	if (n==5)
	cout<<8;
bananas
}

Compilation message

marriage.cpp: In function 'int main()':
marriage.cpp:13:8: error: 'n' was not declared in this scope
   13 |    if (n==5)
      |        ^