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_13806907_12384.cpp:4:2: error: stray '#' in program
 //#define max(a,b) (a)>(b)?(a):(b)
  ^
0_0_13806907_12384.cpp:4:7: error: stray '#' in program
 //#define max(a,b) (a)>(b)?(a):(b)
       ^
0_0_13806907_12384.cpp:4:11: error: stray '#' in program
 //#define max(a,b) (a)>(b)?(a):(b)
           ^
0_0_13806907_12384.cpp:24:8: error: stray '#' in program
       //printf("%d \n",v);
        ^
0_0_13806907_12384.cpp:24:13: error: stray '#' in program
       //printf("%d \n",v);
             ^
0_0_13806907_12384.cpp:29:8: error: stray '#' in program
       //  printf(" %d \n",h[i]);
        ^
0_0_13806907_12384.cpp:29:13: error: stray '#' in program
       //  printf(" %d \n",h[i]);
             ^
0_0_13806907_12384.cpp:4:3: error: expected unqualified-id before numeric constant
 //#define max(a,b) (a)>(b)?(a):(b)
   ^
0_0_13806907_12384.cpp:4:3: error: expected constructor, destructor, or type conversion before numeric constant
0_0_13806907_12384.cpp:4:8: error: expected unqualified-id before numeric constant
 //#define max(a,b) (a)>(b)?(a):(b)
        ^
0_0_13806907_12384.cpp:4:8: error: expected constructor, destructor, or type conversion before numeric constant
0_0_13806907_12384.cpp:4:12: error: 'define' does not name a type
 //#define max(a,b) (a)>(b)?(a):(b)
            ^
0_0_13806907_12384.cpp: In function 'int main()':
0_0_13806907_12384.cpp:24:9: error: lvalue required as unary '&' operand
       //printf("%d \n",v);
         ^
0_0_13806907_12384.cpp:24:14: error: lvalue required as unary '&' operand
       //printf("%d \n",v);
              ^
0_0_13806907_12384.cpp:29:9: error: lvalue required as unary '&' operand
       //  printf(" %d \n",h[i]);
         ^
0_0_13806907_12384.cpp:29:14: error: lvalue required as unary '&' operand
       //  printf(" %d \n",h[i]);
              ^


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-25 18:56:01, Gzip enabled