/ Vijos /

记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:13:2: warning: implicit declaration of function 'sort'; did you mean 'stdout'? [-Wimplicit-function-declaration]
  sort(a,length);
  ^~~~
  stdout
foo.c:17:9: warning: implicit declaration of function 'pop' [-Wimplicit-function-declaration]
    tmp+=pop(a,length--);
         ^~~
foo.c:20:3: warning: implicit declaration of function 'push'; did you mean 'puts'? [-Wimplicit-function-declaration]
   push(a,length++,tmp);
   ^~~~
   puts
foo.c: In function 'sort':
foo.c:29:3: warning: implicit declaration of function 'sink' [-Wimplicit-function-declaration]
   sink(arr,i,length-1);
   ^~~~
foo.c: In function 'sink':
foo.c:53:3: warning: implicit declaration of function 'swap' [-Wimplicit-function-declaration]
   swap(arr,k,j);
   ^~~~
foo.c: In function 'main':
foo.c:5:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &n);
     ^~~~~~~~~~~~~~~
foo.c:8:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &tmp);
         ^~~~~~~~~~~~~~~~~
foo.c: In function 'push':
foo.c:44:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Time Exceeded ≥1252ms ≥368.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Wrong Answer 读取到 90232 ,应为 89471 7ms 256.0 KiB
#4 Wrong Answer 读取到 484882 ,应为 481961 10ms 256.0 KiB
#5 Wrong Answer 读取到 487793991 ,应为 485694875 183ms 256.0 KiB
#6 Wrong Answer 读取到 1234592322 ,应为 1233019094 293ms 256.0 KiB
#7 Time Exceeded ≥1279ms ≥372.0 KiB
#8 Time Exceeded ≥1285ms ≥392.0 KiB
#9 Time Exceeded ≥1272ms ≥384.0 KiB
#10 Time Exceeded ≥1269ms ≥388.0 KiB

信息

递交者
类型
递交
题目
P1097 合并果子
语言
C
递交时间
2020-11-12 23:24:48
评测时间
2020-11-12 23:24:48
评测机
分数
10
总耗时
≥6855ms
峰值内存
≥392.0 KiB