记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:11:17: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=]
         scanf("%s",a[b[j]]);
                ~^  ~
                %ls
foo.c:14:18: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=]
         printf("%s\n",a[j]);
                 ~^    ~
                 %ls
foo.c:5:15: warning: unused variable 'k' [-Wunused-variable]
     int i=0,j,k;
               ^
foo.c:8:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&b[i++]);
         ^~~~~~~~~~~~~~~~~~~
foo.c:11:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%s",a[b[j]]);
         ^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1440ms ≥308.0 KiB
#2 Time Exceeded ≥1439ms ≥344.0 KiB
#3 Time Exceeded ≥1457ms ≥304.0 KiB
#4 Time Exceeded ≥1455ms ≥332.0 KiB
#5 Time Exceeded ≥1449ms ≥328.0 KiB
#6 Time Exceeded ≥1452ms ≥328.0 KiB
#7 Time Exceeded ≥1450ms ≥336.0 KiB
#8 Time Exceeded ≥1453ms ≥336.0 KiB
#9 Time Exceeded ≥1441ms ≥328.0 KiB
#10 Time Exceeded ≥1457ms ≥336.0 KiB

信息

递交者
类型
递交
题目
P1101 婚礼上的小杉
语言
C
递交时间
2021-07-22 17:12:25
评测时间
2021-07-22 17:12:25
评测机
分数
0
总耗时
≥14498ms
峰值内存
≥344.0 KiB