Problem smurf
User Junxian
Submission Time 2026-04-25 11:07:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

smurf.cpp:2:2: error: stray ‘#’ in program
2 | }#include <bits/stdc++.h>
| ^
smurf.cpp:1:5: error: expected unqualified-id before ‘for’
1 | for(auto i: ans) cout << i << " ";
| ^~~
smurf.cpp:2:1: error: expected declaration before ‘}’ token
2 | }#include <bits/stdc++.h>
| ^
smurf.cpp:2:3: error: ‘include’ does not name a type
2 | }#include <bits/stdc++.h>
| ^~~~~~~
smurf.cpp: In function ‘int main()’:
smurf.cpp:7:5: error: ‘ios’ has not been declared
7 | ios::sync_with_stdio(false);
| ^~~
smurf.cpp:8:5: error: ‘cin’ was not declared in this scope
8 | cin.tie(nullptr);
| ^~~
smurf.cpp:12:5: error: ‘deque’ was not declared in this scope
12 | deque<ll> ans;
| ^~~~~
smurf.cpp:12:13: error: expected primary-expression before ‘>’ token
12 | deque<ll> ans;
|