记录详情

Time Exceeded

foo.c: In function 'MoveLeft':
foo.c:17:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(k=0)
     ^
foo.c: In function 'main':
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d\n",&n);
  ^~~~~~~~~~~~~~~~
foo.c:10:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]);
   ^~~~~~~~~~~~~~~~~
foo.c:11:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&k);
  ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1455ms ≥256.0 KiB
#2 Time Exceeded ≥1458ms ≥256.0 KiB
#3 Time Exceeded ≥1460ms ≥224.0 KiB
#4 Time Exceeded ≥1459ms ≥288.0 KiB
#5 Time Exceeded ≥1928ms ≥204.0 KiB

信息

递交者
类型
递交
比赛
2021(四) 作业第二场:见面赛
语言
C
递交时间
2021-10-30 15:02:32
评测时间
2021-10-30 15:02:32
评测机
分数
0
总耗时
≥7762ms
峰值内存
≥288.0 KiB