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_33336456_4112.cpp:6:27: error: expected initializer before 'namespace'
 #define ll long longusing namespace std;
                           ^
0_0_33336456_4112.cpp:9:1: note: in expansion of macro 'll'
 ll exgcd(ll a,ll b,ll &x,ll &y)
 ^
0_0_33336456_4112.cpp:6:27: error: expected ',' or '...' before 'namespace'
 #define ll long longusing namespace std;
                           ^
0_0_33336456_4112.cpp:9:10: note: in expansion of macro 'll'
 ll exgcd(ll a,ll b,ll &x,ll &y)
          ^
0_0_33336456_4112.cpp:6:40: error: expected ')' before ';' token
 #define ll long longusing namespace std;
                                        ^
0_0_33336456_4112.cpp:9:10: note: in expansion of macro 'll'
 ll exgcd(ll a,ll b,ll &x,ll &y)
          ^
0_0_33336456_4112.cpp:6:40: error: expected constructor, destructor, or type conversion before ';' token
 #define ll long longusing namespace std;
                                        ^
0_0_33336456_4112.cpp:9:10: note: in expansion of macro 'll'
 ll exgcd(ll a,ll b,ll &x,ll &y)
          ^
0_0_33336456_4112.cpp:9:13: error: 'a' does not name a type
 ll exgcd(ll a,ll b,ll &x,ll &y)
             ^
0_0_33336456_4112.cpp:9:18: error: 'b' does not name a type
 ll exgcd(ll a,ll b,ll &x,ll &y)
                  ^
0_0_33336456_4112.cpp:9:25: error: expected constructor, destructor, or type conversion before ',' token
 ll exgcd(ll a,ll b,ll &x,ll &y)
                         ^
0_0_33336456_4112.cpp:6:12: error: expected unqualified-id before 'long'
 #define ll long longusing namespace std;
            ^
0_0_33336456_4112.cpp:9:26: note: in expansion of macro 'll'
 ll exgcd(ll a,ll b,ll &x,ll &y)
                          ^
0_0_33336456_4112.cpp:9:31: error: expected constructor, destructor, or type conversion before ')' token
 ll exgcd(ll a,ll b,ll &x,ll &y)
                               ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 12:00:22, Gzip enabled