Problem stepgame
User TomThuy123
Submission Time 2026-01-25 18:57:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stepgame.cpp: In function ‘int main()’:
stepgame.cpp:2:5: error: ‘ios_base’ has not been declared
2 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
stepgame.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin.tie(nullptr);
| ^~~
stepgame.cpp:5:5: error: ‘ll’ was not declared in this scope
5 | ll n;
| ^~
stepgame.cpp:6:12: error: ‘n’ was not declared in this scope
6 | cin >> n;
| ^
stepgame.cpp:7:5: error: ‘vector’ was not declared in this scope
7 | vector<ll> lst(n+1);
| ^~~~~~
stepgame.cpp:7:16: error: ‘lst’ was not declared in this scope
7 | vector<ll> lst(n+1);
| ^~~
stepgame.cpp:8:11: error: expected ‘;’ before ‘i’
8 | for(ll i=1;i<=n;i++){
| ^~
| ;
stepgame.cpp:8:16: error: ‘i’ was not declared in this scope
8 |