foo.cc: In function 'void solve()':
foo.cc:5:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
5 | cin>>n>>m>>a>>b>>c>>d>>k;
| ^~~
| std::cin
In file included from foo.cc:1:
/usr/include/c++/9/iostream:60:18: note: 'std::cin' declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
foo.cc:11:5: error: 'array' was not declared in this scope
11 | array<int,2> dir8[] = {
| ^~~~~
foo.cc:11:11: error: expected primary-expression before 'int'
11 | array<int,2> dir8[] = {
| ^~~
foo.cc:22:5: error: 'dp' was not declared in this scope; did you mean 'd'?
22 | dp[a][b][0] = 1;
| ^~
| d
foo.cc:29:29: error: 'dir8' was not declared in this scope
29 | for(auto _: dir8)
| ^~~~
foo.cc:32:31: error: 'y1' was not declared in this scope; did you mean 'x1'?
32 | if(ok(x1, y1))
| ^~
| x1
foo.cc:41:5: error: 'Mint' was not declared in this scope; did you mean 'uint'?
41 | Mint ans = 0;
| ^~~~
| uint
foo.cc:42:27: error: 'ans' was not declared in this scope; did you mean 'abs'?
42 | for(int i=1;i<=k;i++) ans += dp[c][d][i];
| ^~~
| abs
foo.cc:43:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
43 | cout<<ans<<'\n';
| ^~~~
| std::cout
In file included from foo.cc:1:
/usr/include/c++/9/iostream:61:18: note: 'std::cout' declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
foo.cc:43:11: error: 'ans' was not declared in this scope; did you mean 'abs'?
43 | cout<<ans<<'\n';
| ^~~
| abs
[Hydro](https://hydro.ac)提供评测服务