Submission #1303364

#TimeUsernameProblemLanguageResultExecution timeMemory
1303364_asunaaColors (BOI20_colors)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
using namespace std;
long long i, j, l, r, mid, p, q, k, t, n, m, a, b, c, d, ans, cnt, res, arr[1000005];
const long long mod = 999993143, mod2 = 999993469;
string s;
bool check;
int main(){
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
	cin >> n;
	cout << "? 1" << endl;
	cin >> a;
	cout << "? 1" << endl;
	cin >> a;
	cout << "! 1" << endl
}

Compilation message (stderr)

Colors.cpp: In function 'int main()':
Colors.cpp:16:30: error: expected ';' before '}' token
   16 |         cout << "! 1" << endl
      |                              ^
      |                              ;
   17 | }
      | ~