Problem flybot
User asbx
Submission Time 2023-11-15 10:31:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flybot.cpp: In function ‘int main()’:
flybot.cpp:18:2: error: expected initializer before ‘cin’
18 | cin>>H>>W;
| ^~~
flybot.cpp:21:11: error: ‘c’ was not declared in this scope
21 | getline(c,s);
| ^
flybot.cpp:22:18: error: ‘W’ was not declared in this scope
22 | for(int j=0; j<W; j++){
| ^
flybot.cpp:30:10: error: ‘w’ was not declared in this scope
30 | cout<<f(w,h);
| ^
flybot.cpp:30:12: error: ‘h’ was not declared in this scope
30 | cout<<f(w,h);
| ^