记录详情

Accepted

foo.c: In function 'main':
foo.c:42:6: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
   K-=abs(k0-k)+abs(l0-l);
      ^~~
foo.c:11:17: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int k0,l0=-1,k,l;
                 ^
foo.c:36:12: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
   num[k][l]=-1;//记录最大值,然后置为0   
   ~~~~~~~~~^~~

自豪的采用jd5进行评测(github.com/masnn/jd5)
# 状态 耗时 内存占用
#1 Accepted 2ms 148.0 KiB
#2 Accepted 2ms 124.0 KiB
#3 Accepted 2ms 144.0 KiB
#4 Accepted 2ms 124.0 KiB
#5 Accepted 2ms 144.0 KiB
#6 Accepted 2ms 124.0 KiB
#7 Accepted 2ms 124.0 KiB
#8 Accepted 2ms 124.0 KiB
#9 Accepted 2ms 124.0 KiB
#10 Accepted 2ms 124.0 KiB

信息

递交者
类型
递交
题目
P1128 花生采摘
比赛
南京师范大学算法竞赛之2020年寒假战“疫”系列赛Round2 总第72期赛
语言
C
递交时间
2020-02-11 15:08:12
评测时间
2020-02-11 15:08:12
评测机
分数
100
总耗时
20ms
峰值内存
148.0 KiB