Problem drones
User gthinh
Submission Time 2026-11-13 18:38:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

drones.cpp: In function ‘int main()’:
drones.cpp:12:22: error: expected ‘;’ before ‘vector’
12 | int c; cin>>c
| ^
| ;
13 | vector<int> a(c);
| ~~~~~~
drones.cpp:14:40: error: ‘a’ was not declared in this scope
14 | for (int j = 0; j<c; j++) cin>>a[j];
| ^
drones.cpp:17:21: error: ‘a’ was not declared in this scope
17 | int u = a[j];
| ^