/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool bfs()':
/in/foo.cc:44:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   44 | for( register int i = 0 ; i < linker[ now ].size() ; i++ )
      |                           ~~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'long long int dinic(int, long long int)':
/in/foo.cc:54:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   54 | for( register int i = cur[ now ] ; i < linker[ now ].size() ; i++ )
      |                                    ~~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'bool check(long long int)':
/in/foo.cc:84:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   84 | while( bfs() ) while( temp = dinic( s , inf ) ) ans += temp;
      |                       ~~~~~^~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 540.0 KiB
#2 Accepted 12ms 616.0 KiB
#3 Accepted 10ms 612.0 KiB
#4 Accepted 1038ms 840.0 KiB
#5 Accepted 1050ms 844.0 KiB
#6 Accepted 569ms 832.0 KiB
#7 Accepted 289ms 652.0 KiB
#8 Accepted 290ms 832.0 KiB
#9 Accepted 281ms 836.0 KiB
#10 Accepted 356ms 836.0 KiB

信息

递交者
类型
递交
题目
P1940 奇怪的游戏
语言
C++
递交时间
2025-06-13 15:11:56
评测时间
2025-06-13 15:11:56
评测机
分数
100
总耗时
3903ms
峰值内存
844.0 KiB