0_0_38748024_18182.cpp:4:11: error: expected initializer before 'N'
4 | const int N=510,mod=998244353;
| ^
0_0_38748024_18182.cpp:5:5: error: expected initializer before 'dist'
5 | int dist[N][N],cnt[N][N],a[N][N];
| ^~~~
0_0_38748024_18182.cpp:6:5: error: expected initializer before 'n'
6 | int n,m;
| ^
0_0_38748024_18182.cpp: In function 'void solve()':
0_0_38748024_18182.cpp:9:14: error: 'n' was not declared in this scope
9 | cin>>n>>m;
| ^
0_0_38748024_18182.cpp:9:17: error: 'm' was not declared in this scope; did you mean 'tm'?
9 | cin>>n>>m;
| ^
| tm
0_0_38748024_18182.cpp:10:16: error: 'dist' was not declared in this scope
10 | memset(dist,0x3f,sizeof(dist));
| ^~~~
0_0_38748024_18182.cpp:11:16: error: 'cnt' was not declared in this scope; did you mean 'int'?
11 | memset(cnt,0,sizeof(cnt));
| ^~~
| int
0_0_38748024_18182.cpp:12:16: error: 'a' was not declared in this scope
12 | memset(a,0,sizeof(a));
| ^
0_0_38748024_18182.cpp:13:17: error: expected ';' before 'i'
13 | for(int i=1;i<=n;i++)dist[i][i]=0;
| ^
0_0_38748024_18182.cpp:13:17: error: 'i' was not declared in this scope
0_0_38748024_18182.cpp:13:25: error: expected ')' before ';' token
13 | for(int i=1;i<=n;i++)dist[i][i]=0;
| ~ ^
| )
0_0_38748024_18182.cpp:13:26: error: 'i' was not declared in this scope
13 | for(int i=1;i<=n;i++)dist[i][i]=0;
| ^
0_0_38748024_18182.cpp:14:17: error: expected ';' before 'i'
14 | for(int i=1;i<=m;i++)
| ^
0_0_38748024_18182.cpp:14:25: error: expected ')' before ';' token
14 | for(int i=1;i<=m;i++)
| ~ ^
| )
0_0_38748024_18182.cpp:22:13: error: expected initializer before 'mini'
22 | int mini=1e9,c=0;
| ^~~~
0_0_38748024_18182.cpp:23:17: error: expected ';' before 'k'
23 | for(int k=1;k<=n;k++)
| ^
0_0_38748024_18182.cpp:23:17: error: 'k' was not declared in this scope
0_0_38748024_18182.cpp:23:25: error: expected ')' before ';' token
23 | for(int k=1;k<=n;k++)
| ~ ^
| )
0_0_38748024_18182.cpp:23:26: error: 'k' was not declared in this scope
23 | for(int k=1;k<=n;k++)
| ^
0_0_38748024_18182.cpp:56:12: error: 'mini' was not declared in this scope
56 | if(mini==1e9)mini=c=-1;
| ^~~~
0_0_38748024_18182.cpp:56:27: error: 'c' was not declared in this scope
56 | if(mini==1e9)mini=c=-1;
| ^
0_0_38748024_18182.cpp:57:15: error: 'mini' was not declared in this scope
57 | cout<<mini<<' '<<c<<'\n';
| ^~~~
0_0_38748024_18182.cpp:57:26: error: 'c' was not declared in this scope
57 | cout<<mini<<' '<<c<<'\n';
| ^
0_0_38748024_18182.cpp: In function 'int main()':
0_0_38748024_18182.cpp:62:13: error: expected initializer before 'T'
62 | int T;
| ^
0_0_38748024_18182.cpp:63:14: error: 'T' was not declared in this scope
63 | cin>>T;
| ^
|