/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:25:14: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
   x1=a[x+1][y]>a[x-1][y]? x+1:x-1;
      ~~~~~~~~^
/in/foo.cc:27:14: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
   sum+=a[x][y]+a[x][y1]+a[x1][y]+a[x1][y1];
        ~~~~~~^
# 状态 耗时 内存占用
#1 Runtime Error 3ms 360.0 KiB
#2 Runtime Error 3ms 384.0 KiB
#3 Runtime Error 3ms 256.0 KiB
#4 Runtime Error 3ms 256.0 KiB
#5 Runtime Error 3ms 384.0 KiB
#6 Runtime Error 3ms 336.0 KiB
#7 Runtime Error 3ms 332.0 KiB
#8 Runtime Error 3ms 380.0 KiB
#9 Runtime Error 2ms 344.0 KiB
#10 Runtime Error 7ms 468.0 KiB
#11 Runtime Error 4ms 360.0 KiB
#12 Runtime Error 3ms 256.0 KiB
#13 Runtime Error 3ms 264.0 KiB
#14 Runtime Error 3ms 352.0 KiB
#15 Runtime Error 3ms 384.0 KiB
#16 Runtime Error 3ms 384.0 KiB
#17 Runtime Error 2ms 384.0 KiB
#18 Runtime Error 2ms 368.0 KiB
#19 Runtime Error 2ms 356.0 KiB
#20 Runtime Error 2ms 256.0 KiB
#21 Runtime Error 2ms 336.0 KiB
#22 Runtime Error 3ms 256.0 KiB
#23 Runtime Error 3ms 364.0 KiB
#24 Runtime Error 1ms 208.0 KiB
#25 Runtime Error 2ms 384.0 KiB
#26 Runtime Error 2ms 352.0 KiB
#27 Runtime Error 3ms 384.0 KiB
#28 Runtime Error 2ms 380.0 KiB
#29 Runtime Error 3ms 348.0 KiB
#30 Runtime Error 2ms 256.0 KiB
#31 Runtime Error 1ms 256.0 KiB
#32 Runtime Error 2ms 204.0 KiB
#33 Runtime Error 2ms 372.0 KiB
#34 Runtime Error 3ms 356.0 KiB
#35 Runtime Error 2ms 336.0 KiB
#36 Runtime Error 2ms 256.0 KiB
#37 Runtime Error 3ms 212.0 KiB
#38 Runtime Error 3ms 380.0 KiB
#39 Runtime Error 2ms 376.0 KiB
#40 Runtime Error 3ms 364.0 KiB

信息

递交者
类型
递交
题目
P2035 奇数偶数与绚丽多彩的数
比赛
又是一年省选季之春分邀请赛
语言
C++
递交时间
2018-03-24 20:18:55
评测时间
2018-03-24 22:06:35
评测机
分数
0
总耗时
126ms
峰值内存
468.0 KiB