foo.cc: In function 'int main()':
foo.cc:37:12: error: 'nc' was not declared in this scope
int ga[na+nc];
^~
foo.cc:37:12: note: suggested alternative: 'nb'
int ga[na+nc];
^~
nb
foo.cc:38:24: error: 'ga' was not declared in this scope
for(int i=0;i<na;i++) ga[i]=a[i];
^~
foo.cc:38:24: note: suggested alternative: 'a'
for(int i=0;i<na;i++) ga[i]=a[i];
^~
a
foo.cc:41:38: error: 'c' was not declared in this scope
k.input(a,na);k.input(b,nb);k.input(c,nc);
^
foo.cc:43:10: error: 'ga' was not declared in this scope
k.again(ga,na,c,nc);
^~
foo.cc:43:10: note: suggested alternative: 'a'
k.again(ga,na,c,nc);
^~
a
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。