0_0_39547226_29174.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
0_0_39547226_29174.cpp:6:1: note: in expansion of macro 'int'
6 | int t=1,n,m,x,y;
| ^~~
0_0_39547226_29174.cpp:6:5: error: 't' does not name a type; did you mean 'tm'?
6 | int t=1,n,m,x,y;
| ^
| tm
0_0_39547226_29174.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
0_0_39547226_29174.cpp:7:7: note: in expansion of macro 'int'
7 | const int N=3e5+10;
| ^~~
0_0_39547226_29174.cpp:7:11: error: 'N' does not name a type
7 | const int N=3e5+10;
| ^
0_0_39547226_29174.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
0_0_39547226_29174.cpp:8:7: note: in expansion of macro 'int'
8 | const int mod=998244353;
| ^~~
0_0_39547226_29174.cpp:8:11: error: 'mod' does not name a type
8 | const int mod=998244353;
| ^~~
0_0_39547226_29174.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
0_0_39547226_29174.cpp:9:1: note: in expansion of macro 'int'
9 | int dx[]={-1,-1,1,1,0,0};
| ^~~
0_0_39547226_29174.cpp:9:5: error: 'dx' does not name a type
9 | int dx[]={-1,-1,1,1,0,0};
| ^~
0_0_39547226_29174.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
0_0_39547226_29174.cpp:10:1: note: in expansion of macro 'int'
10 | int dy[]={1,-1,1,-1,2,-2};
| ^~~
0_0_39547226_29174.cpp:10:5: error: 'dy' does not name a type
10 | int dy[]={1,-1,1,-1,2,-2};
| ^~
0_0_39547226_29174.cpp:3:22: error: expected ')' before ';' token
3 | #define int long long;
| ^
0_0_39547226_29174.cpp:11:12: note: in expansion of macro 'int'
11 | void solve(int n,int m,int x,int y){
| ^~~
0_0_39547226_29174.cpp:11:11: note: to match this '('
11 | void solve(int n,int m,int x,int y){
| ^
0_0_39547226_29174.cpp:11:16: error: 'n' does not name a type
11 | void solve(int n,int m,int x,int y){
| ^
0_0_39547226_29174.cpp:11:22: error: 'm' does not name a type; did you mean 'tm'?
11 | void solve(int n,int m,int x,int y){
| ^
| tm
0_0_39547226_29174.cpp:11:28: error: 'x' does not name a type
11 | void solve(int n,int m,int x,int y){
| ^
0_0_39547226_29174.cpp:11:34: error: 'y' does not name a type
11 | void solve(int n,int m,int x,int y){
| ^
0_0_39547226_29174.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
0_0_39547226_29174.cpp:120:1: note: in expansion of macro 'int'
120 | int main() {
| ^~~
0_0_39547226_29174.cpp: In function 'int main()':
0_0_39547226_29174.cpp:122:20: error: 'n' was not declared in this scope
122 | while(cin>>n>>m>>x>>y){
| ^
0_0_39547226_29174.cpp:122:23: error: 'm' was not declared in this scope; did you mean 'tm'?
122 | while(cin>>n>>m>>x>>y){
| ^
| tm
0_0_39547226_29174.cpp:122:26: error: 'x' was not declared in this scope
122 | while(cin>>n>>m>>x>>y){
| ^
0_0_39547226_29174.cpp:122:29: error: 'y' was not declared in this scope
122 | while(cin>>n>>m>>x>>y){
| ^
|