Submission #845448

#TimeUsernameProblemLanguageResultExecution timeMemory
845448vjudge1Konstrukcija (COCI20_konstrukcija)C++17
Compilation error
0 ms0 KiB
#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 (stderr)

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