记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:13:10: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
   if(max<abs(a[i+1]-a[i]))
          ^~~
/in/foo.c:20:2: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d %d",a[p],a[k]);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:20:2: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Accepted 0ms 248.0 KiB
#2 Accepted 1ms 260.0 KiB
#3 Wrong Answer 0ms 324.0 KiB
#4 Runtime Error 1ms 324.0 KiB
#5 Accepted 0ms 324.0 KiB

信息

递交者
类型
递交
题目
P1213 C7 差距最大的相邻数
比赛
2024程序设计与竞赛作业赛第三场(七十二变)
语言
C
递交时间
2024-10-20 11:41:58
评测时间
2024-10-20 11:41:59
评测机
分数
60
总耗时
4ms
峰值内存
324.0 KiB