Problem grid
User Henries
Submission Time 2024-10-16 18:33:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

grid.cpp:5:1: error: expected initializer before ‘long’
5 | long long solve(pair<long long,long long>p){
| ^~~~
grid.cpp: In function ‘int main()’:
grid.cpp:34:17: error: ‘s’ was not declared in this scope
34 | s.insert({i, j});
| ^
grid.cpp:38:11: error: ‘solve’ was not declared in this scope
38 | cout << solve({h, w}) % 1000000007;
| ^~~~~