记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:19:17: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
    x[j]= x[j] + abs(a[i]-m);
                 ^~~
/in/foo.c:22:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=1; i<n; i++)
  ^~~
/in/foo.c:27:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   printf("%d\n",min);
   ^~~~~~
/in/foo.c:14:10: warning: unused variable 'k' [-Wunused-variable]
  int j,m,k;
          ^
# 状态 耗时 内存占用
#1 Accepted 1ms 580.0 KiB
#2 Accepted 1ms 572.0 KiB
#3 Accepted 2ms 588.0 KiB
#4 Accepted 4ms 572.0 KiB
#5 Accepted 23ms 580.0 KiB

信息

递交者
类型
递交
题目
4-1 旅游住处
比赛
课程赛事 2018/12/16
语言
C
递交时间
2018-12-16 16:12:30
评测时间
2018-12-16 16:12:30
评测机
分数
100
总耗时
33ms
峰值内存
588.0 KiB