Submission #845448

# Submission time Handle Problem Language Result Execution time Memory
845448 2023-09-06T13:39:03 Z vjudge1 Konstrukcija (COCI20_konstrukcija) C++17
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define endl "\n"
#define all(c) (c).begin(), (c).end()

void solve(){	

	int k;
	cin >> k;

	cout << n << ' ' 0 << endl;
}

signed main(){

	cin.tie(0);
	ios_base::sync_with_stdio(0);

	#ifndef ONLINE_JUDGE
	//	freopen("in.txt","r",stdin); freopen("out.txt","w",stdout);
	#endif

	ios_base::sync_with_stdio(0);
	cin.tie(0);

	int t = 1;
//	cin >> t;

	while(t--){
		solve();
	}

	return 0;
}

Compilation message

konstrukcija.cpp: In function 'void solve()':
konstrukcija.cpp:12:10: error: 'n' was not declared in this scope
   12 |  cout << n << ' ' 0 << endl;
      |          ^