记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:48:21: warning: iteration 7 invokes undefined behavior [-Waggressive-loop-optimizations]
   48 |             if (a[k][i] != 0)
      |                 ~~~~^~~
foo.c:43:22: note: within this loop
   43 |     for (int i = 1;i <= 8;i++)
      |                    ~~^~~~
foo.c:24:21: warning: iteration 7 invokes undefined behavior [-Waggressive-loop-optimizations]
   24 |             if (a[i][k] != 0)
      |                 ~~~~^~~
foo.c:19:22: note: within this loop
   19 |     for (int i = 1;i <= 8;i++)
      |                    ~~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 9. 1ms 204.0 KiB
#2 Wrong Answer Read 0, expect 9. 1ms 284.0 KiB
#3 Wrong Answer Read 0, expect 6. 2ms 284.0 KiB
#4 Wrong Answer Read 0, expect 10. 1ms 284.0 KiB
#5 Wrong Answer Read 0, expect 7. 1ms 204.0 KiB
#6 Wrong Answer Read 0, expect 8. 1ms 284.0 KiB
#7 Wrong Answer Read 0, expect 9. 1ms 284.0 KiB
#8 Wrong Answer Read 0, expect 97. 2ms 284.0 KiB
#9 Wrong Answer Read 0, expect 81. 2ms 284.0 KiB
#10 Wrong Answer Read 0, expect 94. 1ms 284.0 KiB
#11 Wrong Answer Read 0, expect 91. 1ms 284.0 KiB
#12 Wrong Answer Read 0, expect 87. 2ms 284.0 KiB
#13 Wrong Answer Read 0, expect -1. 2ms 284.0 KiB
#14 Wrong Answer Read 0, expect 699157442. 2ms 284.0 KiB
#15 Wrong Answer Read 0, expect 322236410. 2ms 284.0 KiB
#16 Wrong Answer Read 0, expect -1. 2ms 284.0 KiB
#17 Wrong Answer Read 0, expect 359361722. 1ms 284.0 KiB
#18 Wrong Answer Read 0, expect -1. 2ms 284.0 KiB
#19 Wrong Answer Read 0, expect -1. 2ms 284.0 KiB
#20 Wrong Answer Read 0, expect 48695947. 2ms 204.0 KiB

信息

递交者
类型
递交
题目
P1509 Problem 2B. 矩阵染色
比赛
2023秋 悬赏令第二周
语言
C
递交时间
2023-10-16 16:53:52
评测时间
2023-10-16 16:53:52
评测机
分数
0
总耗时
41ms
峰值内存
284.0 KiB