/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:36: warning: operation on 'i' may be undefined [-Wsequence-point]
         sum[j] = !j ? num[i] + num[++i] : sum[j-1] + num[i];
                                    ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 348.0 KiB
#2 Wrong Answer 1ms 228.0 KiB
#3 Wrong Answer 1ms 224.0 KiB
#4 Wrong Answer 1ms 224.0 KiB
#5 Wrong Answer 2ms 228.0 KiB
#6 Wrong Answer 2ms 228.0 KiB
#7 Wrong Answer 3ms 356.0 KiB
#8 Wrong Answer 3ms 356.0 KiB
#9 Wrong Answer 3ms 360.0 KiB
#10 Wrong Answer 2ms 360.0 KiB

信息

递交者
类型
递交
题目
P1097 合并果子
语言
C++
递交时间
2019-02-05 16:50:26
评测时间
2019-02-06 01:41:29
评测机
分数
0
总耗时
24ms
峰值内存
360.0 KiB