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_23939208_24563.cpp: In function 'int main()':
0_0_23939208_24563.cpp:5:20: error: 'scanf' was not declared in this scope
     scanf("%d" , &t) ;  
                    ^
0_0_23939208_24563.cpp:10:9: error: 'll' was not declared in this scope
         ll sum = 0 ;  
         ^
0_0_23939208_24563.cpp:11:16: error: 'head' was not declared in this scope
         memset(head , -1 , sizeof(head)) ;  
                ^
0_0_23939208_24563.cpp:11:40: error: 'memset' was not declared in this scope
         memset(head , -1 , sizeof(head)) ;  
                                        ^
0_0_23939208_24563.cpp:12:9: error: 'nedge' was not declared in this scope
         nedge = 0 ;  
         ^
0_0_23939208_24563.cpp:15:16: error: expected ';' before 'a'
             ll a , b  ;int num ;  
                ^
0_0_23939208_24563.cpp:19:39: error: 'a' was not declared in this scope
                 scanf("%lld%lld%d" , &a , &b , &m) ;  
                                       ^
0_0_23939208_24563.cpp:19:44: error: 'b' was not declared in this scope
                 scanf("%lld%lld%d" , &a , &b , &m) ;  
                                            ^
0_0_23939208_24563.cpp:20:20: error: expected ';' before 'w'
                 ll w = (ll)(b - a) ;  
                    ^
0_0_23939208_24563.cpp:21:20: error: 'w' was not declared in this scope
                 if(w > 0)  
                    ^
0_0_23939208_24563.cpp:23:21: error: 'sum' was not declared in this scope
                     sum += w ;  
                     ^
0_0_23939208_24563.cpp:24:29: error: 'st' was not declared in this scope
                     addedge(st , i*25+j , w) ;  
                             ^
0_0_23939208_24563.cpp:24:44: error: 'addedge' was not declared in this scope
                     addedge(st , i*25+j , w) ;  
                                            ^
0_0_23939208_24563.cpp:26:39: error: 'en' was not declared in this scope
                 else addedge(i*25+j , en , -w) ;  
                                       ^
0_0_23939208_24563.cpp:26:46: error: 'addedge' was not declared in this scope
                 else addedge(i*25+j , en , -w) ;  
                                              ^
0_0_23939208_24563.cpp:31:47: error: 'inf' was not declared in this scope
                     addedge(i*25+j , u*25+v , inf) ;  
                                               ^
0_0_23939208_24563.cpp:31:50: error: 'addedge' was not declared in this scope
                     addedge(i*25+j , u*25+v , inf) ;  
                                                  ^
0_0_23939208_24563.cpp:35:12: error: expected ';' before 'ans'
         ll ans = 0 ;ll res ;  
            ^
0_0_23939208_24563.cpp:35:24: error: expected ';' before 'res'
         ll ans = 0 ;ll res ;  
                        ^
0_0_23939208_24563.cpp:36:19: error: 'bfs' was not declared in this scope
         while(bfs())  
                   ^
0_0_23939208_24563.cpp:37:17: error: 'res' was not declared in this scope
           while(res = dfs(st , inf))  
                 ^
0_0_23939208_24563.cpp:37:27: error: 'st' was not declared in this scope
           while(res = dfs(st , inf))  
                           ^
0_0_23939208_24563.cpp:37:32: error: 'inf' was not declared in this scope
           while(res = dfs(st , inf))  
                                ^
0_0_23939208_24563.cpp:37:35: error: 'dfs' was not declared in this scope
           while(res = dfs(st , inf))  
                                   ^
0_0_23939208_24563.cpp:38:13: error: 'ans' was not declared in this scope
             ans += res ;  
             ^
0_0_23939208_24563.cpp:39:36: error: 'printf' was not declared in this scope
         printf("Case #%d: " , ++cas) ;  
                                    ^
0_0_23939208_24563.cpp:40:27: error: 'sum' was not declared in this scope
         printf("%lld\n" , sum - ans) ;  
                           ^
0_0_23939208_24563.cpp:40:33: error: 'ans' was not declared in this scope
         printf("%lld\n" , sum - ans) ;  
                                 ^


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-06-26 12:15:27, Gzip enabled