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_22266290_21067.cpp:1:1: error: 'include' does not name a type
 include<bits/stdc++.h>
 ^
0_0_22266290_21067.cpp:11:28: error: 'acos' was not declared in this scope
 const double pi = acos(-1.0);
                            ^
0_0_22266290_21067.cpp: In function 'int dfs(int, int)':
0_0_22266290_21067.cpp:44:48: error: 'min' was not declared in this scope
                 w=dfs(e[i].to,min(f-used,e[i].v));
                                                ^
0_0_22266290_21067.cpp: In function 'void dinic()':
0_0_22266290_21067.cpp:54:40: error: 'memcpy' was not declared in this scope
         memcpy(huyou,head,sizeof(huyou));
                                        ^
0_0_22266290_21067.cpp: In function 'int main()':
0_0_22266290_21067.cpp:62:19: error: 'scanf' was not declared in this scope
     scanf("%d",&TT);
                   ^
0_0_22266290_21067.cpp:80:34: error: 'max' was not declared in this scope
             for(int j = max(z+1,1); j <= m && j-z <= m; ++j) {
                                  ^
0_0_22266290_21067.cpp:89:37: error: 'puts' was not declared in this scope
         if(ans >= 1000000) puts("-1");
                                     ^
0_0_22266290_21067.cpp:91:36: error: 'printf' was not declared in this scope
         printf("%d\n",n*10000 - 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-11-26 07:36:44, Gzip enabled