/ Vijos /

记录详情

Memory Exceeded

/in/foo.cc: In function 'int sap(int, int, int, int, int)':
/in/foo.cc:83:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (register int i = iter[v]; i < edge[v].size(); i++) {
                                    ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In instantiation of 'void BufferedInputStream::read(T&) [with T = int]':
/in/foo.cc:52:15:   required from here
/in/foo.cc:33:20: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
             x = (x + (x << 2) << 1) + (c ^ '0');
                  ~~^~~~~~~~~~
/in/foo.cc: In instantiation of 'void BufferedInputStream::read(T&) [with T = long long int]':
/in/foo.cc:58:15:   required from here
/in/foo.cc:33:20: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
/in/foo.cc: In function 'int main()':
/in/foo.cc:69:60: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized]
     Node(int v, int f, int index) : v(v), f(f), index(index) {}
                                                            ^
/in/foo.cc:108:36: note: 'h' was declared here
     for (register int i = 0, a, b, h; i < m; i++) {
                                    ^
/in/foo.cc:108:30: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
     for (register int i = 0, a, b, h; i < m; i++) {
                              ^
# 状态 耗时 内存占用
#1 Memory Exceeded ≥28ms ≥16.0 MiB
#2 Memory Exceeded ≥36ms ≥16.0 MiB
#3 Memory Exceeded ≥38ms ≥16.0 MiB
#4 Memory Exceeded ≥31ms ≥16.0 MiB
#5 Memory Exceeded ≥38ms ≥16.0 MiB
#6 Memory Exceeded ≥36ms ≥16.0 MiB
#7 Memory Exceeded ≥36ms ≥16.0 MiB
#8 Memory Exceeded ≥36ms ≥16.0 MiB
#9 Memory Exceeded ≥35ms ≥16.0 MiB
#10 Memory Exceeded ≥33ms ≥16.0 MiB

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
C++
递交时间
2019-04-18 17:25:30
评测时间
2019-04-18 17:25:30
评测机
分数
0
总耗时
≥350ms
峰值内存
≥16.0 MiB