记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:12:24: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
   12 |                 sum += abs(arr[i][0] - arr[k][0]) + abs(arr[i][1] - arr[k][1]);
      |                        ^~~
foo.c:3:1: note: include '<stdlib.h>' or provide a declaration of 'abs'
    2 | #include<math.h>
  +++ |+#include <stdlib.h>
    3 | //24210124杨大宇
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 1ms 268.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Accepted 2ms 256.0 KiB
#8 Accepted 3ms 256.0 KiB
#9 Accepted 3ms 256.0 KiB
#10 Accepted 2ms 256.0 KiB
#11 Accepted 2ms 256.0 KiB
#12 Accepted 2ms 256.0 KiB
#13 Accepted 1ms 256.0 KiB
#14 Accepted 1ms 256.0 KiB
#15 Accepted 2ms 256.0 KiB
#16 Accepted 1ms 256.0 KiB
#17 Accepted 1ms 256.0 KiB
#18 Accepted 2ms 256.0 KiB
#19 Accepted 2ms 256.0 KiB
#20 Accepted 2ms 256.0 KiB
#21 Accepted 1ms 256.0 KiB
#22 Accepted 1ms 256.0 KiB
#23 Accepted 1ms 256.0 KiB
#24 Accepted 1ms 256.0 KiB
#25 Accepted 1ms 256.0 KiB
#26 Accepted 1ms 256.0 KiB
#27 Accepted 1ms 256.0 KiB
#28 Accepted 1ms 256.0 KiB
#29 Accepted 1ms 256.0 KiB
#30 Accepted 1ms 256.0 KiB
#31 Wrong Answer Read 6397, expect 3439. 1ms 256.0 KiB
#32 Wrong Answer Read 4565, expect 4429. 1ms 256.0 KiB
#33 Wrong Answer Read 3337, expect 3297. 1ms 256.0 KiB
#34 Accepted 1ms 256.0 KiB
#35 Wrong Answer Read 1404, expect 1238. 1ms 256.0 KiB
#36 Wrong Answer Read 5344, expect 4865. 1ms 256.0 KiB
#37 Wrong Answer Read 721, expect 407. 0ms 256.0 KiB
#38 Wrong Answer Read 6894, expect 4756. 1ms 256.0 KiB
#39 Wrong Answer Read 2516, expect 1836. 1ms 256.0 KiB
#40 Wrong Answer Read 1149, expect 765. 1ms 256.0 KiB
#41 Wrong Answer Read 4191, expect 3408. 1ms 256.0 KiB
#42 Wrong Answer Read 3349, expect 3098. 1ms 256.0 KiB
#43 Wrong Answer Read 3741, expect 3649. 1ms 256.0 KiB
#44 Wrong Answer Read 1962, expect 1306. 1ms 256.0 KiB
#45 Wrong Answer Read 4823, expect 3717. 2ms 256.0 KiB
#46 Wrong Answer Read 3196, expect 2126. 1ms 256.0 KiB
#47 Wrong Answer Read 1755, expect 1337. 1ms 256.0 KiB
#48 Wrong Answer Read 3141, expect 2456. 1ms 256.0 KiB
#49 Wrong Answer Read 2875, expect 1991. 1ms 256.0 KiB
#50 Wrong Answer Read 3068, expect 2379. 1ms 256.0 KiB
#51 Wrong Answer Read 1407, expect 1396. 1ms 256.0 KiB
#52 Wrong Answer Read 1608, expect 1380. 1ms 256.0 KiB
#53 Wrong Answer Read 3381, expect 3380. 0ms 256.0 KiB
#54 Wrong Answer Read 5710, expect 4804. 1ms 256.0 KiB
#55 Wrong Answer Read 4891, expect 4191. 1ms 256.0 KiB
#56 Wrong Answer Read 6923, expect 4141. 1ms 256.0 KiB
#57 Wrong Answer Read 3858, expect 3120. 1ms 256.0 KiB
#58 Wrong Answer Read 4927, expect 4693. 1ms 256.0 KiB
#59 Wrong Answer Read 3547, expect 2367. 1ms 256.0 KiB
#60 Wrong Answer Read 1268, expect 1183. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1389 Problem 1A. 中秋月饼
比赛
悬赏令第一周
语言
C
递交时间
2022-09-26 20:03:50
评测时间
2022-09-26 20:03:50
评测机
分数
62
总耗时
107ms
峰值内存
268.0 KiB