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_30859314_3445.c:16:50: error: expected identifier or '(' before '/' token
   int head_ns;                                   // 这才是节点数
                                                  ^
0_0_30859314_3445.c:16:50: error: stray '\325' in program
0_0_30859314_3445.c:16:50: error: stray '\342' in program
0_0_30859314_3445.c:16:50: error: stray '\262' in program
0_0_30859314_3445.c:16:50: error: stray '\305' in program
0_0_30859314_3445.c:16:50: error: stray '\312' in program
0_0_30859314_3445.c:16:50: error: stray '\307' in program
0_0_30859314_3445.c:16:50: error: stray '\275' in program
0_0_30859314_3445.c:16:50: error: stray '\332' in program
0_0_30859314_3445.c:16:50: error: stray '\265' in program
0_0_30859314_3445.c:16:50: error: stray '\343' in program
0_0_30859314_3445.c:16:50: error: stray '\312' in program
0_0_30859314_3445.c:16:50: error: stray '\375' in program
0_0_30859314_3445.c:17:50: error: expected identifier or '(' before '/' token
   int edge_ns;                                   // 边数
                                                  ^
0_0_30859314_3445.c:17:50: error: stray '\261' in program
0_0_30859314_3445.c:17:50: error: stray '\337' in program
0_0_30859314_3445.c:17:50: error: stray '\312' in program
0_0_30859314_3445.c:17:50: error: stray '\375' in program
0_0_30859314_3445.c: In function 'init':
0_0_30859314_3445.c:26:3: error: 'edge_ns' undeclared (first use in this function)
   edge_ns = 0;
   ^
0_0_30859314_3445.c:26:3: note: each undeclared identifier is reported only once for each function it appears in
0_0_30859314_3445.c: In function 'add':
0_0_30859314_3445.c:31:8: error: 'edge_ns' undeclared (first use in this function)
   node[edge_ns] = (node_t){to, vol, head[from]};
        ^
0_0_30859314_3445.c: In function 'dfs':
0_0_30859314_3445.c:44:15: error: 'dest' undeclared (first use in this function)
   if (from == dest)
               ^
0_0_30859314_3445.c:47:50: error: expected expression before '/' token
   for (k=cur[from]; k>=0; k=node[k].prev)        // 下面要求只能沿着最短路走
                                                  ^
0_0_30859314_3445.c:47:50: error: stray '\317' in program
0_0_30859314_3445.c:47:50: error: stray '\302' in program
0_0_30859314_3445.c:47:50: error: stray '\303' in program
0_0_30859314_3445.c:47:50: error: stray '\346' in program
0_0_30859314_3445.c:47:50: error: stray '\322' in program
0_0_30859314_3445.c:47:50: error: stray '\252' in program
0_0_30859314_3445.c:47:50: error: stray '\307' in program
0_0_30859314_3445.c:47:50: error: stray '\363' in program
0_0_30859314_3445.c:47:50: error: stray '\326' in program
0_0_30859314_3445.c:47:50: error: stray '\273' in program
0_0_30859314_3445.c:47:50: error: stray '\304' in program
0_0_30859314_3445.c:47:50: error: stray '\334' in program
0_0_30859314_3445.c:47:50: error: stray '\321' in program
0_0_30859314_3445.c:47:50: error: stray '\330' in program
0_0_30859314_3445.c:47:50: error: stray '\327' in program
0_0_30859314_3445.c:47:50: error: stray '\305' in program
0_0_30859314_3445.c:47:50: error: stray '\327' in program
0_0_30859314_3445.c:47:50: error: stray '\356' in program
0_0_30859314_3445.c:47:50: error: stray '\266' in program
0_0_30859314_3445.c:47:50: error: stray '\314' in program
0_0_30859314_3445.c:47:50: error: stray '\302' in program
0_0_30859314_3445.c:47:50: error: stray '\267' in program
0_0_30859314_3445.c:47:50: error: stray '\327' in program
0_0_30859314_3445.c:47:50: error: stray '\337' in program
0_0_30859314_3445.c:50:7: error: stray '\265' in program
       cur[from] = k;                             // 当前弧优化
       ^
0_0_30859314_3445.c:50:7: error: stray '\261' in program
0_0_30859314_3445.c:50:7: error: stray '\307' in program
0_0_30859314_3445.c:50:7: error: stray '\260' in program
0_0_30859314_3445.c:50:7: error: stray '\273' in program
0_0_30859314_3445.c:50:7: error: stray '\241' in program
0_0_30859314_3445.c:50:7: error: stray '\323' in program
0_0_30859314_3445.c:50:7: error: stray '\305' in program
0_0_30859314_3445.c:50:7: error: stray '\273' in program
0_0_30859314_3445.c:50:7: error: stray '\257' in program
0_0_30859314_3445.c:59:50: error: expected expression before '/' token
   if (0 == --gap[depth[from]])                   // 断层优化
                                                  ^
0_0_30859314_3445.c:59:50: error: stray '\266' in program
0_0_30859314_3445.c:59:50: error: stray '\317' in program
0_0_30859314_3445.c:59:50: error: stray '\262' in program
0_0_30859314_3445.c:59:50: error: stray '\343' in program
0_0_30859314_3445.c:59:50: error: stray '\323' in program
0_0_30859314_3445.c:59:50: error: stray '\305' in program
0_0_30859314_3445.c:59:50: error: stray '\273' in program
0_0_30859314_3445.c:59:50: error: stray '\257' in program
0_0_30859314_3445.c: In function 'get_max_flow':
0_0_30859314_3445.c:67:50: error: expected expression before '/' token
   memset(depth, 0, head_ns * sizeof(int));       // 若反复调用,三个清零不可省,本题就如此
                                                  ^
0_0_30859314_3445.c:67:50: error: stray '\310' in program
0_0_30859314_3445.c:67:50: error: stray '\364' in program
0_0_30859314_3445.c:67:50: error: stray '\267' in program
0_0_30859314_3445.c:67:50: error: stray '\264' in program
0_0_30859314_3445.c:67:50: error: stray '\270' in program
0_0_30859314_3445.c:67:50: error: stray '\264' in program
0_0_30859314_3445.c:67:50: error: stray '\265' in program
0_0_30859314_3445.c:67:50: error: stray '\367' in program
0_0_30859314_3445.c:67:50: error: stray '\323' in program
0_0_30859314_3445.c:67:50: error: stray '\303' in program
0_0_30859314_3445.c:67:50: error: stray '\243' in program
0_0_30859314_3445.c:67:50: error: stray '\254' in program
0_0_30859314_3445.c:67:50: error: stray '\310' in program
0_0_30859314_3445.c:67:50: error: stray '\375' in program
0_0_30859314_3445.c:67:50: error: stray '\270' in program
0_0_30859314_3445.c:67:50: error: stray '\366' in program
0_0_30859314_3445.c:67:50: error: stray '\307' in program
0_0_30859314_3445.c:67:50: error: stray '\345' in program
0_0_30859314_3445.c:67:50: error: stray '\301' in program
0_0_30859314_3445.c:67:50: error: stray '\343' in program
0_0_30859314_3445.c:67:50: error: stray '\262' in program
0_0_30859314_3445.c:67:50: error: stray '\273' in program
0_0_30859314_3445.c:67:50: error: stray '\277' in program
0_0_30859314_3445.c:67:50: error: stray '\311' in program
0_0_30859314_3445.c:67:50: error: stray '\312' in program
0_0_30859314_3445.c:67:50: error: stray '\241' in program
0_0_30859314_3445.c:67:50: error: stray '\243' in program
0_0_30859314_3445.c:67:50: error: stray '\254' in program
0_0_30859314_3445.c:67:50: error: stray '\261' in program
0_0_30859314_3445.c:67:50: error: stray '\276' in program
0_0_30859314_3445.c:67:50: error: stray '\314' in program
0_0_30859314_3445.c:67:50: error: stray '\342' in program
0_0_30859314_3445.c:67:50: error: stray '\276' in program
0_0_30859314_3445.c:67:50: error: stray '\315' in program
0_0_30859314_3445.c:67:50: error: stray '\310' in program
0_0_30859314_3445.c:67:50: error: stray '\347' in program
0_0_30859314_3445.c:67:50: error: stray '\264' in program
0_0_30859314_3445.c:67:50: error: stray '\313' in program
0_0_30859314_3445.c:70:50: error: expected expression before '/' token
   ret = 0;                                       // gap[0] = head_ns; cur[src] = head[src]; 两句省略
                                                  ^
0_0_30859314_3445.c:70:75: error: 'src' undeclared (first use in this function)
   ret = 0;                                       // gap[0] = head_ns; cur[src] = head[src]; 两句省略
                                                                           ^
0_0_30859314_3445.c:70:50: error: stray '\301' in program
   ret = 0;                                       // gap[0] = head_ns; cur[src] = head[src]; 两句省略
                                                  ^
0_0_30859314_3445.c:70:50: error: stray '\275' in program
0_0_30859314_3445.c:70:50: error: stray '\276' in program
0_0_30859314_3445.c:70:50: error: stray '\344' in program
0_0_30859314_3445.c:70:50: error: stray '\312' in program
0_0_30859314_3445.c:70:50: error: stray '\241' in program
0_0_30859314_3445.c:70:50: error: stray '\302' in program
0_0_30859314_3445.c:70:50: error: stray '\324' in program
0_0_30859314_3445.c:8:51: error: expected expression before '/' token
 #define MAX_VAL  0x3f3f3f3f                      // sap算法
                                                   ^
0_0_30859314_3445.c:72:21: note: in expansion of macro 'MAX_VAL'
     ret += dfs(src, MAX_VAL);
                     ^
0_0_30859314_3445.c:8:51: error: stray '\313' in program
 #define MAX_VAL  0x3f3f3f3f                      // sap算法
                                                   ^
0_0_30859314_3445.c:72:21: note: in expansion of macro 'MAX_VAL'
     ret += dfs(src, MAX_VAL);
                     ^
0_0_30859314_3445.c:8:51: error: stray '\343' in program
 #define MAX_VAL  0x3f3f3f3f                      // sap算法
             


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