记录详情

Runtime Error

foo.c: In function 'main':
foo.c:7:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    7 |  for(i=0;i<n;i++)
      |  ^~~
foo.c:9:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    9 |   m=m%n;
      |   ^
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    6 |  scanf("%d %d",&n,&m);
      |  ^~~~~~~~~~~~~~~~~~~~
foo.c:8:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    8 |   scanf("%d",&a[i]);
      |   ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#2 Runtime Error Segmentation fault 577ms 256.0 KiB
#3 Time Exceeded ≥1101ms ≥256.0 KiB
#4 Time Exceeded ≥1096ms ≥256.0 KiB

信息

递交者
类型
递交
题目
1-1 数字循环左移
比赛
C语言课程设计考试
语言
C
递交时间
2022-05-31 12:04:13
评测时间
2022-05-31 12:04:13
评测机
分数
0
总耗时
2776ms
峰值内存
256.0 KiB