Submission #345307

# Submission time Handle Problem Language Result Execution time Memory
345307 2021-01-07T07:15:27 Z Erzhan06 Marriage questions (IZhO14_marriage) C++17
Compilation error
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)
      |        ^