0_0_38829468_13400.cpp:5:33: error: expected ')' before ';' token
5 | void ex_gcd(int a,int b,int &x,int &y); /*欧几里得扩展定理*/
| ~ ^
| )
0_0_38829468_13400.cpp:5:34: error: 'x' does not name a type
5 | void ex_gcd(int a,int b,int &x,int &y); /*欧几里得扩展定理*/
| ^
0_0_38829468_13400.cpp:5:45: error: 'y' does not name a type
5 | void ex_gcd(int a,int b,int &x,int &y); /*欧几里得扩展定理*/
| ^
0_0_38829468_13400.cpp: In function 'int main()':
0_0_38829468_13400.cpp:14:31: error: 'amp' was not declared in this scope
14 | if((n[0]==-1)&&(n[1]==-1)&&(n[2]==-1)&&(d==-1))
| ^~~
0_0_38829468_13400.cpp:14:39: error: expected ')' before ';' token
14 | if((n[0]==-1)&&(n[1]==-1)&&(n[2]==-1)&&(d==-1))
| ~ ^
| )
0_0_38829468_13400.cpp:14:51: error: 'amp' was not declared in this scope
14 | if((n[0]==-1)&&(n[1]==-1)&&(n[2]==-1)&&(d==-1))
| ^~~
0_0_38829468_13400.cpp:14:87: error: expected ';' before ')' token
14 | if((n[0]==-1)&&(n[1]==-1)&&(n[2]==-1)&&(d==-1))
| ^
| ;
0_0_38829468_13400.cpp:19:31: error: too many arguments to function 'void ex_gcd(int, int, int&)'
19 | ex_gcd(m[j],c[j],x,y);
| ~~~~~~^~~~~~~~~~~~~~~
0_0_38829468_13400.cpp:5:6: note: declared here
5 | void ex_gcd(int a,int b,int &x,int &y); /*欧几里得扩展定理*/
| ^~~~~~
0_0_38829468_13400.cpp: At global scope:
0_0_38829468_13400.cpp:34:33: error: expected ')' before ';' token
34 | void ex_gcd(int a,int b,int &x,int &y){
| ~ ^
| )
0_0_38829468_13400.cpp:34:34: error: 'x' does not name a type
34 | void ex_gcd(int a,int b,int &x,int &y){
| ^
0_0_38829468_13400.cpp:34:45: error: 'y' does not name a type
34 | void ex_gcd(int a,int b,int &x,int &y){
| ^
|