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_23409684_15779.cpp:4:23: error: expected constructor, destructor, or type conversion before '(' token
 #define INL _attribute((always_inline)) inline
                       ^
0_0_23409684_15779.cpp:32:1: note: in expansion of macro 'INL'
 INL char getchar(){
 ^
0_0_23409684_15779.cpp:4:23: error: expected constructor, destructor, or type conversion before '(' token
 #define INL _attribute((always_inline)) inline
                       ^
0_0_23409684_15779.cpp:67:21: note: in expansion of macro 'INL'
 template < class T >INL cout_t operator << (cout_t c,T x){
                     ^
0_0_23409684_15779.cpp:4:23: error: expected constructor, destructor, or type conversion before '(' token
 #define INL _attribute((always_inline)) inline
                       ^
0_0_23409684_15779.cpp:72:1: note: in expansion of macro 'INL'
 INL cout_t operator << (cout_t c, char x){
 ^
0_0_23409684_15779.cpp:4:23: error: expected constructor, destructor, or type conversion before '(' token
 #define INL _attribute((always_inline)) inline
                       ^
0_0_23409684_15779.cpp:78:1: note: in expansion of macro 'INL'
 INL cout_t operator << (cout_t c, endl_t){
 ^
0_0_23409684_15779.cpp: In function 'int nYAn::main()':
0_0_23409684_15779.cpp:246:10: error: ambiguating new declaration of 'int nYAn::main()'
 int main(){
          ^
0_0_23409684_15779.cpp:189:6: note: old declaration 'void nYAn::main()'
 void main(){
      ^
0_0_23409684_15779.cpp: At global scope:
0_0_23409684_15779.cpp:249:1: error: expected '}' at end of input
 }
 ^


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-07-04 13:07:19, Gzip enabled