记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:9:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d",&x);
          ^
/in/foo.c:23:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=0;i<k;i++)
  ^~~
/in/foo.c:25:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   a[k-1]=t;
   ^
/in/foo.c:26:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=0;i<k;i++)
  ^~~
/in/foo.c:28:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   printf("\n");
   ^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 200.0 KiB
#2 Wrong Answer 0ms 208.0 KiB
#3 Wrong Answer 0ms 200.0 KiB
#4 Wrong Answer 0ms 208.0 KiB

信息

递交者
类型
递交
题目
1-1 数字循环左移
语言
C
递交时间
2019-02-28 19:58:03
评测时间
2019-02-28 19:58:03
评测机
分数
0
总耗时
3ms
峰值内存
208.0 KiB