foo.cc:5:18: error: expected ']' before ',' token
5 | int N,NA,NB,PA[20,0,1,0,100],PB[200],SA=0,SB=0;
| ^
| ]
foo.cc:5:19: error: expected unqualified-id before numeric constant
5 | int N,NA,NB,PA[20,0,1,0,100],PB[200],SA=0,SB=0;
| ^
foo.cc: In function 'int main()':
foo.cc:14:22: error: 'PA' was not declared in this scope; did you mean 'NA'?
14 | cin>>PA[i];
| ^~
| NA
foo.cc:16:22: error: 'PB' was not declared in this scope; did you mean 'NB'?
16 | cin>>PB[i];
| ^~
| NB
foo.cc:23:17: error: 'SA' was not declared in this scope; did you mean 'S'?
23 | SA*=N/lcm;
| ^~
| S
foo.cc:24:17: error: 'SB' was not declared in this scope; did you mean 'S'?
24 | SB*=N/lcm;
| ^~
| S
foo.cc:27:15: error: 'SA' was not declared in this scope; did you mean 'S'?
27 | cout<<SA<<" "<<SB;
| ^~
| S
foo.cc:27:24: error: 'SB' was not declared in this scope; did you mean 'S'?
27 | cout<<SA<<" "<<SB;
| ^~
| S
foo.cc: In function 'void compute(int)':
foo.cc:38:25: error: 'SA' was not declared in this scope; did you mean 'S'?
38 | SA+=S[PA[i]][PB[j]];
| ^~
| S
foo.cc:38:31: error: 'PA' was not declared in this scope; did you mean 'NA'?
38 | SA+=S[PA[i]][PB[j]];
| ^~
| NA
foo.cc:38:38: error: 'PB' was not declared in this scope; did you mean 'NB'?
38 | SA+=S[PA[i]][PB[j]];
| ^~
| NB
foo.cc:39:25: error: 'SB' was not declared in this scope; did you mean 'S'?
39 | SB+=S[PB[j]][PA[i]];
| ^~
| S
[Hydro](https://hydro.ac)提供评测服务