Problem pilot
User hwy
Submission Time 2023-06-27 01:06:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pilot.cpp: In function ‘int main()’:
pilot.cpp:13:2: error: expected initializer before ‘ll’
13 | ll Y[Q];
| ^~
pilot.cpp:16:10: error: ‘H’ was not declared in this scope
16 | cin >> H[i];
| ^
pilot.cpp:19:10: error: ‘Y’ was not declared in this scope
19 | cin >> Y[i];
| ^
pilot.cpp:24:16: error: ‘Y’ was not declared in this scope
24 | for (ll i: Y){
| ^
pilot.cpp:27:20: error: ‘H’ was not declared in this scope
27 | for (ll j: H) {
| ^
pilot.cpp:29:11: error: expected ‘;’ before ‘ans’
29 | curr++
| ^
| ;
30 | ans += curr;
| ~~~