foo.cc: In function 'void solve()':
foo.cc:4:5: error: 'cin' was not declared in this scope
4 | cin>>n>>m>>a>>b>>c>>d>>k;
| ^~~
foo.cc:10:5: error: 'array' was not declared in this scope
10 | array<int,2> dir8[] = {
| ^~~~~
foo.cc:10:11: error: expected primary-expression before 'int'
10 | array<int,2> dir8[] = {
| ^~~
foo.cc:21:5: error: 'dp' was not declared in this scope; did you mean 'd'?
21 | dp[a][b][0] = 1;
| ^~
| d
foo.cc:28:29: error: 'dir8' was not declared in this scope
28 | for(auto _: dir8)
| ^~~~
foo.cc:31:31: error: 'y1' was not declared in this scope; did you mean 'x1'?
31 | if(ok(x1, y1))
| ^~
| x1
foo.cc:40:5: error: 'Mint' was not declared in this scope; did you mean 'int'?
40 | Mint ans = 0;
| ^~~~
| int
foo.cc:41:27: error: 'ans' was not declared in this scope
41 | for(int i=1;i<=k;i++) ans += dp[c][d][i];
| ^~~
foo.cc:42:5: error: 'cout' was not declared in this scope
42 | cout<<ans<<'\n';
| ^~~~
foo.cc:42:11: error: 'ans' was not declared in this scope
42 | cout<<ans<<'\n';
| ^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务