Submission #345307

#TimeUsernameProblemLanguageResultExecution timeMemory
345307Erzhan06Marriage questions (IZhO14_marriage)C++17
Compilation error
0 ms0 KiB
#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 (stderr)

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