Problem flybot
User KingKav199
Submission Time 2023-11-15 10:40:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flybot.cpp:9:30: error: expected constructor, destructor, or type conversion before ‘(’ token
9 | ios_base::sync_with_stdio(NULL);
| ^
flybot.cpp:10:5: error: ‘cin’ does not name a type; did you mean ‘sin’?
10 | cin.tie(0);
| ^~~
| sin
flybot.cpp:11:5: error: ‘cout’ does not name a type
11 | cout.tie(0);
| ^~~~
flybot.cpp:14:5: error: ‘cin’ does not name a type; did you mean ‘sin’?
14 | cin >> h >> w;
| ^~~
| sin
flybot.cpp:15:5: error: ‘dp’ does not name a type
15 | dp[0][0] = 1;
| ^~
flybot.cpp:16:5: error: expected unqualified-id before ‘for’
16 | for(int x = 0; x<h; x++) {
| ^~~
flybot.cpp:16:20: error: ‘x’ does not name a type
16 | for(int x = 0; x<h; x++) {
| ^
flybot.cpp:16:25: error: ‘x’ does not name a type
1