记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:9:13: warning: passing argument 1 of 'BubbleSort' from incompatible pointer type [-Wincompatible-pointer-types]
    9 |  BubbleSort(&x,n);
      |             ^~
      |             |
      |             int (*)[100000]
foo.c:2:22: note: expected 'int *' but argument is of type 'int (*)[100000]'
    2 | void BubbleSort(int *a,int 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",&x[i]);
      |   ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 640.0 KiB
#2 Accepted 3ms 640.0 KiB
#3 Accepted 35ms 640.0 KiB
#4 Wrong Answer Read 1597, expect 1598. 733ms 640.0 KiB
#5 Time Exceeded ≥1099ms ≥640.0 KiB

信息

递交者
类型
递交
题目
6-1 和为定值的数对
比赛
2021(四) 作业第四场:加速赛
语言
C
递交时间
2021-12-09 08:54:58
评测时间
2021-12-09 08:54:58
评测机
分数
60
总耗时
≥1874ms
峰值内存
≥640.0 KiB