记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:20:18: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations]
   20 |         if(word[i]!=0)
      |            ~~~~~~^
foo.cc:17:23: note: within this loop
   17 |     for (int i = 1; i <= 26;i++)
      |                     ~~^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 332.0 KiB
#2 Accepted 3ms 412.0 KiB
#3 Accepted 4ms 332.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 3ms 412.0 KiB
#6 Accepted 3ms 412.0 KiB
#7 Accepted 3ms 328.0 KiB
#8 Accepted 3ms 332.0 KiB
#9 Accepted 3ms 328.0 KiB
#10 Accepted 3ms 412.0 KiB
#11 Accepted 3ms 412.0 KiB
#12 Accepted 3ms 412.0 KiB
#13 Accepted 13ms 616.0 KiB
#14 Accepted 20ms 668.0 KiB
#15 Accepted 20ms 716.0 KiB
#16 Accepted 7ms 412.0 KiB
#17 Accepted 27ms 868.0 KiB
#18 Accepted 26ms 880.0 KiB
#19 Accepted 20ms 668.0 KiB
#20 Wrong Answer Read 622370, expect 622382. 29ms 900.0 KiB

信息

递交者
类型
递交
题目
P1537 Problem 5B. 操作字符串
比赛
2023秋 悬赏令第五周
语言
C++
递交时间
2023-11-06 14:31:11
评测时间
2023-11-06 14:43:23
评测机
分数
95
总耗时
212ms
峰值内存
900.0 KiB