답안 #845448

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
845448 2023-09-06T13:39:03 Z vjudge1 Konstrukcija (COCI20_konstrukcija) C++17
컴파일 오류
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;
      |          ^