F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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){
      |                                             ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 16:19:46, Gzip enabled