/in/foo.cc:5:18: error: expected ']' before ',' token
int N,NA,NB,PA[20,0,1,0,100],PB[200],SA=0,SB=0;
^
/in/foo.cc:5:19: error: expected unqualified-id before numeric constant
int N,NA,NB,PA[20,0,1,0,100],PB[200],SA=0,SB=0;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:14:8: error: 'PA' was not declared in this scope
cin>>PA[i];
^~
/in/foo.cc:16:8: error: 'PB' was not declared in this scope
cin>>PB[i];
^~
/in/foo.cc:23:3: error: 'SA' was not declared in this scope
SA*=N/lcm;
^~
/in/foo.cc:24:3: error: 'SB' was not declared in this scope
SB*=N/lcm;
^~
/in/foo.cc:27:8: error: 'SA' was not declared in this scope
cout<<SA<<" "<<SB;
^~
/in/foo.cc:27:17: error: 'SB' was not declared in this scope
cout<<SA<<" "<<SB;
^~
/in/foo.cc: In function 'void compute(int)':
/in/foo.cc:38:4: error: 'SA' was not declared in this scope
SA+=S[PA[i]][PB[j]];
^~
/in/foo.cc:38:10: error: 'PA' was not declared in this scope
SA+=S[PA[i]][PB[j]];
^~
/in/foo.cc:38:17: error: 'PB' was not declared in this scope
SA+=S[PA[i]][PB[j]];
^~
/in/foo.cc:39:4: error: 'SB' was not declared in this scope
SB+=S[PB[j]][PA[i]];
^~