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_35064797_25303.cpp:17:18: error: '#' is not followed by a macro parameter
 #define rep(i,a,b) for (int i=(a),_ed=(b);i<=_ed;i++)
                  ^
0_0_35064797_25303.cpp:18:18: error: '#' is not followed by a macro parameter
 #define per(i,a,b) for (int i=(b),_ed=(a);i>=_ed;i--)
                  ^
0_0_35064797_25303.cpp:21:20: error: stray '#' in program
 const int inf_int = 2e9;
                    ^
0_0_35064797_25303.cpp:22:25: error: stray '#' in program
 const long long inf_ll = 2e18;
                         ^
0_0_35064797_25303.cpp:28:67: error: stray '#' in program
 #define SelfType int SelfType Gcd(SelfType p,SelfType q){return q==0?p:Gcd(q,p%q);}
                                                                   ^
0_0_35064797_25303.cpp:29:1: note: in expansion of macro 'SelfType'
 SelfType Pow(SelfType p,SelfType q){SelfType ans=1;while(q){if(q&1)ans=ans*p;p=p*p;q>>=1;}return ans;}
 ^
0_0_35064797_25303.cpp:28:72: error: stray '#' in program
 #define SelfType int SelfType Gcd(SelfType p,SelfType q){return q==0?p:Gcd(q,p%q);}
                                                                        ^
0_0_35064797_25303.cpp:29:1: note: in expansion of macro 'SelfType'
 SelfType Pow(SelfType p,SelfType q){SelfType ans=1;while(q){if(q&1)ans=ans*p;p=p*p;q>>=1;}return ans;}
 ^
0_0_35064797_25303.cpp:28:67: error: stray '#' in program
 #define SelfType int SelfType Gcd(SelfType p,SelfType q){return q==0?p:Gcd(q,p%q);}
                                                                   ^
0_0_35064797_25303.cpp:29:14: note: in expansion of macro 'SelfType'
 SelfType Pow(SelfType p,SelfType q){SelfType ans=1;while(q){if(q&1)ans=ans*p;p=p*p;q>>=1;}return ans;}
              ^
0_0_35064797_25303.cpp:28:72: error: stray '#' in program
 #define SelfType int SelfType Gcd(SelfType p,SelfType q){return q==0?p:Gcd(q,p%q);}
                                                                        ^
0_0_35064797_25303.cpp:29:14: note: in expansion of macro 'SelfType'
 SelfType Pow(SelfType p,SelfType q){SelfType ans=1;while(q){if(q&1)ans=ans*p;p=p*p;q>>=1;}return ans;}
              ^
0_0_35064797_25303.cpp:28:67: error: stray '#' in program
 #define SelfType int SelfType Gcd(SelfType p,SelfType q){return q==0?p:Gcd(q,p%q);}
                                                                   ^
0_0_35064797_25303.cpp:29:25: note: in expansion of macro 'SelfType'
 SelfType Pow(SelfType p,SelfType q){SelfType ans=1;while(q){if(q&1)ans=ans*p;p=p*p;q>>=1;}return ans;}
                         ^
0_0_35064797_25303.cpp:28:72: error: stray '#' in program
 #define SelfType int SelfType Gcd(SelfType p,SelfType q){return q==0?p:Gcd(q,p%q);}
                                                                        ^
0_0_35064797_25303.cpp:29:25: note: in expansion of macro 'SelfType'
 SelfType Pow(SelfType p,SelfType q){SelfType ans=1;while(q){if(q&1)ans=ans*p;p=p*p;q>>=1;}return ans;}
                         ^
0_0_35064797_25303.cpp:28:67: error: stray '#' in program
 #define SelfType int SelfType Gcd(SelfType p,SelfType q){return q==0?p:Gcd(q,p%q);}
                                                                   ^
0_0_35064797_25303.cpp:29:37: note: in expansion of macro 'SelfType'
 SelfType Pow(SelfType p,SelfType q){SelfType ans=1;while(q){if(q&1)ans=ans*p;p=p*p;q>>=1;}return ans;}
                                     ^
0_0_35064797_25303.cpp:28:72: error: stray '#' in program
 #define SelfType int SelfType Gcd(SelfType p,SelfType q){return q==0?p:Gcd(q,p%q);}
                                                                        ^
0_0_35064797_25303.cpp:29:37: note: in expansion of macro 'SelfType'
 SelfType Pow(SelfType p,SelfType q){SelfType ans=1;while(q){if(q&1)ans=ans*p;p=p*p;q>>=1;}return ans;}
                                     ^
0_0_35064797_25303.cpp:29:50: error: stray '#' in program
 SelfType Pow(SelfType p,SelfType q){SelfType ans=1;while(q){if(q&1)ans=ans*p;p=p*p;q>>=1;}return ans;}
                                                  ^
0_0_35064797_25303.cpp:29:76: error: stray '#' in program
 SelfType Pow(SelfType p,SelfType q){SelfType ans=1;while(q){if(q&1)ans=ans*p;p=p*p;q>>=1;}return ans;}
                                                                            ^
0_0_35064797_25303.cpp:29:88: error: stray '#' in program
 SelfType Pow(SelfType p,SelfType q){SelfType ans=1;while(q){if(q&1)ans=ans*p;p=p*p;q>>=1;}return ans;}
                                                                                        ^
0_0_35064797_25303.cpp:29:100: error: stray '#' in program
 SelfType Pow(SelfType p,SelfType q){SelfType ans=1;while(q){if(q&1)ans=ans*p;p=p*p;q>>=1;}return ans;}
                                                                                                    ^
0_0_35064797_25303.cpp:30:13: error: '#' is not followed by a macro parameter
 #define Sd(X) int (X); scanf("%d", &X)
             ^
0_0_35064797_25303.cpp:31:17: error: '#' is not followed by a macro parameter
 #define Sdd(X, Y) int X, Y; scanf("%d%d", &X, &Y)
                 ^
0_0_35064797_25303.cpp:32:21: error: '#' is not followed by a macro parameter
 #define Sddd(X, Y, Z) int X, Y, Z; scanf("%d%d%d", &X, &Y, &Z)
                     ^
0_0_35064797_25303.cpp:40:40: error: stray '#' in program
 inline int read(){int ra,fh;char rx;rx=getchar(),ra=0,fh=1;while((rx<'0'||rx>'9')&&rx!='-')rx=getchar();if(rx=='-')fh=-1,rx=getchar();while(rx>='0'&&rx<='9')ra*=10,ra+=rx-48,rx=getchar();return ra*fh;}
                                        ^
0_0_35064797_25303.cpp:40:57: error: stray '#' in program
 inline int read(){int ra,fh;char rx;rx=getchar(),ra=0,fh=1;while((rx<'0'||rx>'9')&&rx!='-')rx=getchar();if(rx=='-')fh=-1,rx=getchar();while(rx>='0'&&rx<='9')ra*=10,ra+=rx-48,rx=getchar();return ra*fh;}
                                                         ^
0_0_35064797_25303.cpp:40:66: error: stray '#' in program
 inline int read(){int ra,fh;char rx;rx=getchar(),ra=0,fh=1;while((rx<'0'||rx>'9')&&rx!='-')rx=getchar();if(rx=='-')fh=-1,rx=getchar();while(rx>='0'&&rx<='9')ra*=10,ra+=rx-48,rx=getchar();return ra*fh;}
                                                                  ^
0_0_35064797_25303.cpp:40:100: error: stray '#' in program
 inline int read(){int ra,fh;char rx;rx=getchar(),ra=0,fh=1;while((rx<'0'||rx>'9')&&rx!='-')rx=getchar();if(rx=='-')fh=-1,rx=getchar();while(rx>='0'&&rx<='9')ra*=10,ra+=rx-48,rx=getchar();return ra*fh;}
                                                                                                    ^
0_0_35064797_25303.cpp:40:111: error: stray '#' in program
 inline int read(){int ra,fh;char rx;rx=getchar(),ra=0,fh=1;while((rx<'0'||rx>'9')&&rx!='-')rx=getchar();if(rx=='-')fh=-1,rx=getchar();while(rx>='0'&&rx<='9')ra*=10,ra+=rx-48,rx=getchar();return ra*fh;}
                                                                                                               ^
0_0_35064797_25303.cpp:40:131: error: stray '#' in program
 inline int read(){int ra,fh;char rx;rx=getchar(),ra=0,fh=1;while((rx<'0'||rx>'9')&&rx!='-')rx=getchar();if(rx=='-')fh=-1,rx=getchar();while(rx>='0'&&rx<='9')ra*=10,ra+=rx-48,rx=getchar();return ra*fh;}
                                                                                                                                   ^
0_0_35064797_25303.cpp:40:136: error: stray '#' in program
 inline int read(){int ra,fh;char rx;rx=getchar(),ra=0,fh=1;while((rx<'0'||rx>'9')&&rx!='-')rx=getchar();if(rx=='-')fh=-1,rx=getchar();while(rx>='0'&&rx<='9')ra*=10,ra+=rx-48,rx=getchar();return ra*fh;}
                                                                                                                                        ^
0_0_35064797_25303.cpp:40:147: error: stray '#' in program
 inline int read(){int ra,fh;char rx;rx=getchar(),ra=0,fh=1;while((rx<'0'||rx>'9')&&rx!='-')rx=getchar();if(rx=='-')fh=-1,rx=getchar();while(rx>='0'&&rx<='9')ra*=10,ra+=rx-48,rx=getchar();return ra*fh;}
                                                                                                                                                   ^
0_0_35064797_25303.cpp:40:157: error: stray '#' in program
 inline int read(){int ra,fh;char rx;rx=getchar(),ra=0,fh=1;while((rx<'0'||rx>'9')&&rx!='-')rx=getchar();if(rx=='-')fh=-1,rx=getchar();while(rx>='0'&&rx<='9')ra*=10,ra+=rx-48,rx=getchar();return ra*fh;}
                                                                                                                                                             ^
0_0_35064797_25303.cpp:40:181: error: stray '#' in program
 inline int read(){int ra,fh;char rx;rx=getchar(),ra=0,fh=1;while((rx<'0'||rx>'9')&&rx!='-')rx=getchar();if(rx=='-')fh=-1,rx=getchar();while(rx>='0'&&rx<='9')ra*=10,ra+=rx-48,rx=getchar();return ra*fh;}
                                                                                                                                                                        


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 10:50:12, Gzip enabled