记录详情

Accepted

foo.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
    3 | max(int a[],int len)
      | ^~~
foo.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int]
   17 | min(int a[],int len)
      | ^~~
foo.c: In function 'main':
foo.c:47:37: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
   47 |                                 d=d+abs(a[k]-i)+abs(b[k]-j);
      |                                     ^~~
foo.c:3:1: note: include '<stdlib.h>' or provide a declaration of 'abs'
    2 | #include<math.h>
  +++ |+#include <stdlib.h>
    3 | max(int a[],int len)
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 4ms 256.0 KiB
#3 Accepted 4ms 256.0 KiB
#4 Accepted 9ms 256.0 KiB
#5 Accepted 6ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Accepted 22ms 256.0 KiB
#8 Accepted 3ms 256.0 KiB
#9 Accepted 6ms 384.0 KiB
#10 Accepted 4ms 256.0 KiB
#11 Accepted 2ms 256.0 KiB
#12 Accepted 7ms 256.0 KiB
#13 Accepted 2ms 256.0 KiB
#14 Accepted 4ms 256.0 KiB
#15 Accepted 3ms 256.0 KiB
#16 Accepted 5ms 256.0 KiB
#17 Accepted 2ms 256.0 KiB
#18 Accepted 4ms 256.0 KiB
#19 Accepted 3ms 256.0 KiB
#20 Accepted 11ms 256.0 KiB
#21 Accepted 8ms 256.0 KiB
#22 Accepted 7ms 340.0 KiB
#23 Accepted 3ms 384.0 KiB
#24 Accepted 2ms 256.0 KiB
#25 Accepted 2ms 256.0 KiB
#26 Accepted 2ms 256.0 KiB
#27 Accepted 2ms 256.0 KiB
#28 Accepted 3ms 256.0 KiB
#29 Accepted 2ms 256.0 KiB
#30 Accepted 2ms 256.0 KiB
#31 Accepted 113ms 256.0 KiB
#32 Accepted 122ms 376.0 KiB
#33 Accepted 94ms 376.0 KiB
#34 Accepted 37ms 376.0 KiB
#35 Accepted 60ms 384.0 KiB
#36 Accepted 117ms 376.0 KiB
#37 Accepted 39ms 376.0 KiB
#38 Accepted 120ms 256.0 KiB
#39 Accepted 64ms 384.0 KiB
#40 Accepted 45ms 256.0 KiB
#41 Accepted 95ms 376.0 KiB
#42 Accepted 86ms 384.0 KiB
#43 Accepted 98ms 376.0 KiB
#44 Accepted 60ms 256.0 KiB
#45 Accepted 99ms 256.0 KiB
#46 Accepted 71ms 256.0 KiB
#47 Accepted 60ms 384.0 KiB
#48 Accepted 96ms 256.0 KiB
#49 Accepted 69ms 256.0 KiB
#50 Accepted 84ms 256.0 KiB
#51 Accepted 54ms 256.0 KiB
#52 Accepted 52ms 384.0 KiB
#53 Accepted 92ms 384.0 KiB
#54 Accepted 141ms 256.0 KiB
#55 Accepted 117ms 384.0 KiB
#56 Accepted 101ms 256.0 KiB
#57 Accepted 92ms 384.0 KiB
#58 Accepted 108ms 256.0 KiB
#59 Accepted 90ms 376.0 KiB
#60 Accepted 54ms 256.0 KiB

信息

递交者
类型
递交
题目
P1389 Problem 1A. 中秋月饼
比赛
悬赏令第一周
语言
C
递交时间
2022-10-01 21:17:53
评测时间
2022-10-01 21:17:53
评测机
分数
120
总耗时
2699ms
峰值内存
384.0 KiB