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_29594799_1419.cpp:7:12: error: '__int64_t' was not declared in this scope
 #define ll __int64_t
            ^
0_0_29594799_1419.cpp:17:12: note: in expansion of macro 'll'
     vector<ll> Val;
            ^
0_0_29594799_1419.cpp:17:14: error: template argument 1 is invalid
     vector<ll> Val;
              ^
0_0_29594799_1419.cpp:17:14: error: template argument 2 is invalid
0_0_29594799_1419.cpp:7:12: error: '__int64_t' does not name a type
 #define ll __int64_t
            ^
0_0_29594799_1419.cpp:18:5: note: in expansion of macro 'll'
     ll outt;
     ^
0_0_29594799_1419.cpp:7:12: error: '__int64_t' has not been declared
 #define ll __int64_t
            ^
0_0_29594799_1419.cpp:28:29: note: in expansion of macro 'll'
     void _Add(int u, int v, ll w) {
                             ^
0_0_29594799_1419.cpp:7:12: error: '__int64_t' has not been declared
 #define ll __int64_t
            ^
0_0_29594799_1419.cpp:34:32: note: in expansion of macro 'll'
     void addEdge(int u, int v, ll w) {
                                ^
0_0_29594799_1419.cpp:7:12: error: '__int64_t' has not been declared
 #define ll __int64_t
            ^
0_0_29594799_1419.cpp:63:22: note: in expansion of macro 'll'
     int dfs(int pos, ll val) {
                      ^
0_0_29594799_1419.cpp: In constructor 'Dinic::Dinic(int, int, int)':
0_0_29594799_1419.cpp:24:13: error: request for member 'resize' in '((Dinic*)this)->Dinic::Val', which is of non-class type 'int'
         Val.resize(2);
             ^
0_0_29594799_1419.cpp: In member function 'void Dinic::_Add(int, int, int)':
0_0_29594799_1419.cpp:32:13: error: request for member 'push_back' in '((Dinic*)this)->Dinic::Val', which is of non-class type 'int'
         Val.push_back(w);
             ^
0_0_29594799_1419.cpp: In member function 'int Dinic::bfs()':
0_0_29594799_1419.cpp:51:25: error: invalid types 'int[int]' for array subscript
                 if(Val[i] && !marked[To[i]]) {
                         ^
0_0_29594799_1419.cpp: In member function 'int Dinic::dfs(int, int)':
0_0_29594799_1419.cpp:68:21: error: invalid types 'int[int]' for array subscript
             if(Val[i] && depth[To[i]]==depth[pos]+1) {
                     ^
0_0_29594799_1419.cpp:7:12: error: '__int64_t' was not declared in this scope
 #define ll __int64_t
            ^
0_0_29594799_1419.cpp:69:17: note: in expansion of macro 'll'
                 ll valu = dfs(To[i], min(val, Val[i]));
                 ^
0_0_29594799_1419.cpp:70:20: error: 'valu' was not declared in this scope
                 if(valu) {
                    ^
0_0_29594799_1419.cpp:71:26: error: invalid types 'int[int]' for array subscript
                     Val[i] -= valu;
                          ^
0_0_29594799_1419.cpp:72:28: error: invalid types 'int[int]' for array subscript
                     Val[i^1] += valu;
                            ^
0_0_29594799_1419.cpp: In member function 'void Dinic::dinic()':
0_0_29594799_1419.cpp:80:9: error: 'outt' was not declared in this scope
         outt = 0;
         ^
0_0_29594799_1419.cpp:7:12: error: '__int64_t' was not declared in this scope
 #define ll __int64_t
            ^
0_0_29594799_1419.cpp:85:13: note: in expansion of macro 'll'
             ll val;
             ^
0_0_29594799_1419.cpp:86:20: error: 'val' was not declared in this scope
             while((val=dfs(S, INF))) {
                    ^
0_0_29594799_1419.cpp: At global scope:
0_0_29594799_1419.cpp:7:12: error: '__int64_t' does not name a type
 #define ll __int64_t
            ^
0_0_29594799_1419.cpp:101:1: note: in expansion of macro 'll'
 ll val[MAXN];
 ^
0_0_29594799_1419.cpp: In function 'int main()':
0_0_29594799_1419.cpp:121:32: error: 'val' was not declared in this scope
                 cin >> tmp1 >> val[cnt];
                                ^
0_0_29594799_1419.cpp:144:16: error: 'val' was not declared in this scope
             if(val[i]<0) {
                ^
0_0_29594799_1419.cpp:157:27: error: 'class Dinic' has no member named 'outt'
         cout << summ - dd.outt << endl;
                           ^


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:21:54, Gzip enabled