Problem grid
User Henries
Submission Time 2024-10-16 18:32:54
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:39:11: error: ‘solve’ was not declared in this scope
39 | cout << solve({h, w}, s) % 1000000007;
| ^~~~~