| Problem | robotbombs |
|---|---|
| User | Biologyhater123 |
| Submission Time | 2026-01-21 17:43:44 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
robotbombs.cpp: In function ‘int32_t main()’:
robotbombs.cpp:13:26: error: ‘e’ was not declared in this scope
13 | char c; cin >> c;e
| ^
robotbombs.cpp:15:23: error: ‘ny’ was not declared in this scope; did you mean ‘y’?
15 | if (c == 'U') ny++;
| ^~
| y
robotbombs.cpp:16:28: error: ‘nx’ was not declared in this scope; did you mean ‘x’?
16 | else if (c == 'L') nx--;
| ^~
| x
robotbombs.cpp:17:28: error: ‘nx’ was not declared in this scope; did you mean ‘x’?
17 | else if (c == 'R') nx++;
| ^~
| x
robotbombs.cpp:18:17: error: ‘nx’ was not declared in this scope; did you mean ‘x’?
18 | if (mp[{nx,ny}] == 0){
| ^~
|