/ Vijos /

记录详情

Compile Error

foo.cpp:1:19: warning: extra tokens at end of #include directive [enabled by default]
 #include <cstdio> #include <algorithm> #include <cstring> #include <bitset>
                   ^
foo.cpp: In function 'int sap(int, int)':
foo.cpp:30:58: error: 'min' was not declared in this scope
         int ret = sap( p -> t , min( flow - rec , p -> f ) ) ;
                                                          ^
foo.cpp: In function 'int maxflow()':
foo.cpp:40:37: error: 'memset' was not declared in this scope
     memset( gap , 0 , sizeof( gap ) ) ;
                                     ^
foo.cpp: At global scope:
foo.cpp:52:1: error: 'bitset' does not name a type
 bitset < maxn > f , vi ;
 ^
foo.cpp: In function 'void dfs(int, int)':
foo.cpp:55:5: error: 'f' was not declared in this scope
     f[ v ] = true ;
     ^
foo.cpp:56:89: error: 'vi' was not declared in this scope
     for ( P[ v ] = head[ v ] ; P[ v ] ; P[ v ] = P[ v ] -> next ) if ( P[ v ] -> f && ! vi[ P[ v ] -> t ] ) {
                                                                                         ^
foo.cpp:64:22: error: 'vi' was not declared in this scope
     f[ v ] = false , vi[ v ] = true ;
                      ^
foo.cpp: In function 'int main()':
foo.cpp:70:39: error: 'memset' was not declared in this scope
     memset( head , 0 , sizeof( head ) ) ;
                                       ^
foo.cpp:80:9: error: 'f' was not declared in this scope
         f.reset(  ) ;
         ^
foo.cpp:83:48: error: 'swap' was not declared in this scope
             if ( x -> t > y -> t ) swap( x , y ) ;
                                                ^
foo.cpp:88:17: error: 'vi' was not declared in this scope
                 vi.reset(  ) ; vi[ S ] = true ;
                 ^

信息

递交者
类型
递交
题目
P1820 变换序列
语言
C++
递交时间
2016-08-22 08:55:31
评测时间
2016-08-22 08:55:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes