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_32983355_12690.cpp: In function 'int km()':
0_0_32983355_12690.cpp:6:13: error: expected primary-expression before '=' token
 #define inf = 0x3f3f3f;
             ^
0_0_32983355_12690.cpp:41:23: note: in expansion of macro 'inf'
         ex_girl[i] = -inf;
                       ^
0_0_32983355_12690.cpp:6:13: error: expected primary-expression before '=' token
 #define inf = 0x3f3f3f;
             ^
0_0_32983355_12690.cpp:47:23: note: in expansion of macro 'inf'
         memset(slack, inf, sizeof(slack));
                       ^
0_0_32983355_12690.cpp:47:26: error: expected primary-expression before ',' token
         memset(slack, inf, sizeof(slack));
                          ^
0_0_32983355_12690.cpp:6:13: error: expected primary-expression before '=' token
 #define inf = 0x3f3f3f;
             ^
0_0_32983355_12690.cpp:54:21: note: in expansion of macro 'inf'
             int d = inf;
                     ^
0_0_32983355_12690.cpp:6:13: error: expected primary-expression before '=' token
 #define inf = 0x3f3f3f;
             ^
0_0_32983355_12690.cpp:60:21: note: in expansion of macro 'inf'
             if(d == inf) {
                     ^
0_0_32983355_12690.cpp:6:23: error: expected ')' before ';' token
 #define inf = 0x3f3f3f;
                       ^
0_0_32983355_12690.cpp:60:21: note: in expansion of macro 'inf'
             if(d == inf) {
                     ^
0_0_32983355_12690.cpp:60:24: error: expected primary-expression before ')' token
             if(d == inf) {
                        ^
0_0_32983355_12690.cpp: In function 'int main()':
0_0_32983355_12690.cpp:6:13: error: expected primary-expression before '=' token
 #define inf = 0x3f3f3f;
             ^
0_0_32983355_12690.cpp:86:22: note: in expansion of macro 'inf'
         memset(love,-inf,sizeof(love));
                      ^
0_0_32983355_12690.cpp:86:25: error: expected primary-expression before ',' token
         memset(love,-inf,sizeof(love));
                         ^


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 19:20:41, Gzip enabled