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_33828855_27185.cpp:1:2: error: stray '#' in program
 1#include<bits/stdc++.h>
  ^
0_0_33828855_27185.cpp:1:1: error: expected unqualified-id before numeric constant
 1#include<bits/stdc++.h>
 ^
0_0_33828855_27185.cpp:73:2: error: 'pair' does not name a type
  pair<int,int>mincostmaxflow(int start,int end,int n)
  ^
0_0_33828855_27185.cpp: In member function 'void zkw::init()':
0_0_33828855_27185.cpp:25:30: error: 'memset' was not declared in this scope
   memset(head,-1,sizeof(head));
                              ^
0_0_33828855_27185.cpp: In member function 'int zkw::aug(int, int)':
0_0_33828855_27185.cpp:43:52: error: 'min' was not declared in this scope
     int tmp=aug(v,min(flow,edge[i].cap-edge[i].flow));
                                                    ^
0_0_33828855_27185.cpp: In member function 'bool zkw::modify_label()':
0_0_33828855_27185.cpp:60:78: error: 'min' was not declared in this scope
      if(edge[i].cap>edge[i].flow &&!vis[v])d=min(d,dis[v]+edge[i].cost-dis[u]);
                                                                              ^
0_0_33828855_27185.cpp: In function 'int getint()':
0_0_33828855_27185.cpp:99:15: error: 'getchar' was not declared in this scope
  if(c=getchar(),c==EOF)return 0;
               ^
0_0_33828855_27185.cpp:99:20: error: 'EOF' was not declared in this scope
  if(c=getchar(),c==EOF)return 0;
                    ^
0_0_33828855_27185.cpp:100:41: error: 'getchar' was not declared in this scope
  while(c!='-'&&(c<'0'||c>'9'))c=getchar();
                                         ^
0_0_33828855_27185.cpp:102:18: error: 'getchar' was not declared in this scope
  while(c=getchar(),c>='0'&&c<='9')ret=ret*10+c-'0';
                  ^
0_0_33828855_27185.cpp: At global scope:
0_0_33828855_27185.cpp:106:1: error: 'vector' does not name a type
 vector<int> a;
 ^
0_0_33828855_27185.cpp:107:1: error: 'vector' does not name a type
 vector<int> b;
 ^
0_0_33828855_27185.cpp:108:1: error: 'unordered_map' does not name a type
 unordered_map<int,int> mp1,mp2;
 ^
0_0_33828855_27185.cpp: In function 'int main()':
0_0_33828855_27185.cpp:125:8: error: 'mp1' was not declared in this scope
    if(!mp1[x[i]-y[i]])mp1[x[i]-y[i]]=++num;
        ^
0_0_33828855_27185.cpp:126:8: error: 'mp2' was not declared in this scope
    if(!mp2[x[i]+y[i]])mp2[x[i]+y[i]]=++num;
        ^
0_0_33828855_27185.cpp:127:18: error: 'mp1' was not declared in this scope
    solve.add(i,n+mp1[x[i]-y[i]],inf,0);
                  ^
0_0_33828855_27185.cpp:128:18: error: 'mp2' was not declared in this scope
    solve.add(i,n+mp2[x[i]+y[i]],inf,0);
                  ^
0_0_33828855_27185.cpp:132:3: error: 'pair' was not declared in this scope
   pair<int,int> ans=solve.mincostmaxflow(0,t,t+1);
   ^
0_0_33828855_27185.cpp:132:8: error: expected primary-expression before 'int'
   pair<int,int> ans=solve.mincostmaxflow(0,t,t+1);
        ^
0_0_33828855_27185.cpp:133:17: error: 'ans' was not declared in this scope
   printf("%d\n",ans.first);
                 ^
0_0_33828855_27185.cpp:133:26: error: 'printf' was not declared in this scope
   printf("%d\n",ans.first);
                          ^


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 01:40:36, Gzip enabled