Problem arcwrecker2
User carson
Submission Time 2026-01-21 21:28:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arcwrecker2.cpp: In function ‘int main()’:
arcwrecker2.cpp:8:17: error: expected ‘;’ before ‘a’
8 | vector<ll>(n+1) a;
| ^~
| ;
arcwrecker2.cpp:11:10: error: ‘a’ was not declared in this scope
11 | cin >> a[i];
| ^
arcwrecker2.cpp:21:26: error: ‘a’ was not declared in this scope
21 | for (int i = 1; i <= a.size(); i++) {
| ^