Submission #1194137

#TimeUsernameProblemLanguageResultExecution timeMemory
1194137Zbyszek99Prize (CEOI22_prize)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #define ll long long #define ld long double #define ff first #define ss second #define vi vector<int> #define vl vector<long long> #define pii pair<int,int> #define pll pair<long long, long long> #define pb push_back #define rep(i, b) for(int i = 0; i < (b); ++i) #define rep2(i,a,b) for(int i = a; i <= (b); ++i) #define rep3(i,a,b,c) for(int i = a; i <= (b); i+=c) #define count_bits(x) __builtin_popcountll((x)) #define all(x) (x).begin(),(x).end() #define siz(x) (int)(x).size() #define forall(it,x) for(auto& it:(x)) using namespace std; const int INF = 1e9+50; const ll INF_L = 1e18+40; const ll MOD = 1e9+7; int main() { cin >> n >> k >> q >> t; rep(d,2) { rep2(i,1,n) { int x; cin >> x; } } rep2(i,1,k) { cout << i << " "; } cout << endl; cout << "!" << endl; rep(qq,t) { int a,b; cin >> a >> b; cout << 0 << " " << 0 << "\n"; } cout.flush(); }

Compilation message (stderr)

Main.cpp: In function 'int main()':
Main.cpp:25:12: error: 'n' was not declared in this scope; did you mean 'yn'?
   25 |     cin >> n >> k >> q >> t;
      |            ^
      |            yn
Main.cpp:25:17: error: 'k' was not declared in this scope
   25 |     cin >> n >> k >> q >> t;
      |                 ^
Main.cpp:25:22: error: 'q' was not declared in this scope
   25 |     cin >> n >> k >> q >> t;
      |                      ^
Main.cpp:25:27: error: 't' was not declared in this scope; did you mean 'tm'?
   25 |     cin >> n >> k >> q >> t;
      |                           ^
      |                           tm