Problem robberduck
User Kiameimon
Submission Time 2024-08-02 17:16:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

robberduck.cpp: In function ‘int main()’:
robberduck.cpp:19:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
19 | ll arr[n];
| ^
| yn
robberduck.cpp:20:17: error: ‘arr’ was not declared in this scope
20 | for(ll &i : arr) cin >> i;
| ^~~
robberduck.cpp:21:16: error: ‘arr’ was not declared in this scope
21 | ll a[n]; copy(arr, arr+n, a);
| ^~~
robberduck.cpp:21:28: error: ‘a’ was not declared in this scope
21 | ll a[n]; copy(arr, arr+n, a);
| ^
robberduck.cpp:22:7: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
22 | ll v[t], d[t];
| ^
| tm
robberduck.cpp:24:10: error: ‘v’ was not declared in this scope
24 | cin >> v[i] >> d[i];
| ^
robberduck.cpp:24:18: error: ‘d’ was not declared in this scope
24 |