Problem rop
User mofumofu
Submission Time 2025-12-14 22:11:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rop.cpp: In function ‘void solve()’:
rop.cpp:2:9: error: ‘cin’ was not declared in this scope
2 | int n; cin >> n;
| ^~~
rop.cpp:4:2: error: ‘vector’ was not declared in this scope
4 | vector<ll> a(n), f(n), b(n), pref(n), suf(n);
| ^~~~~~
rop.cpp:4:9: error: ‘ll’ was not declared in this scope
4 | vector<ll> a(n), f(n), b(n), pref(n), suf(n);
| ^~
rop.cpp:4:13: error: ‘a’ was not declared in this scope
4 | vector<ll> a(n), f(n), b(n), pref(n), suf(n);
| ^
rop.cpp:4:19: error: ‘f’ was not declared in this scope
4 | vector<ll> a(n), f(n), b(n), pref(n), suf(n);
| ^
rop.cpp:4:25: error: ‘b’ was not declared in this scope
4 | vector<ll> a(n), f(n), b(n), pref(n), suf(n);
| ^
rop.cpp:4:31: error: ‘pref’ was not declared in this scope
4 | vector<ll> a