Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:14: warning: operation on 'i' may be undefined [-Wsequence-point]
    c=a[i]-a[i--];
             ~^~
/in/foo.cc:15:9: warning: operation on 'i' may be undefined [-Wsequence-point]
    v=a[i++]-a[i];
        ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 376.0 KiB
#2 Accepted 1ms 428.0 KiB
#3 Wrong Answer 1ms 364.0 KiB
#4 Wrong Answer 1ms 376.0 KiB
#5 Wrong Answer 1ms 376.0 KiB
#6 Wrong Answer 1ms 348.0 KiB
#7 Accepted 1ms 336.0 KiB
#8 Wrong Answer 1ms 356.0 KiB
#9 Wrong Answer 1ms 344.0 KiB
#10 Wrong Answer 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P1724 乔布斯的苹果
语言
C++
递交时间
2024-07-25 00:34:54
评测时间
2024-07-25 00:34:54
评测机
分数
20
总耗时
18ms
峰值内存
428.0 KiB