Problem | duckhunt |
---|---|
User | CKCodeBreaker55 |
Submission Time | 2025-03-14 09:13:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckhunt.cpp:1:2: error: stray ‘#’ in program
1 | v#include <bits/stdc++.h>
| ^
duckhunt.cpp:1:1: error: ‘v’ does not name a type
1 | v#include <bits/stdc++.h>
| ^
duckhunt.cpp: In function ‘int main()’:
duckhunt.cpp:7:5: error: ‘cin’ was not declared in this scope
7 | cin >> H >> W >> N;
| ^~~
duckhunt.cpp:8:5: error: ‘vector’ was not declared in this scope
8 | vector<vector<int>> dp(H, vector<int>(W, 0));
| ^~~~~~
duckhunt.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
duckhunt.cpp:8:19: note: in expansion of macro ‘int’
8 | vector<vector<int>> dp(H, vector<int>(W, 0));
| ^~~
duckhunt.cpp:13:9: error: ‘dp’ was not declared in this scope
13 | dp[R - 1][C - 1] = -1; // Mark the cells with obstacles