记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:5:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d",&n);
         ~^  ~~
         %ld
foo.c:8:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  printf("%d\n",s);
          ~^
          %ld
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1430ms ≥256.0 KiB
#2 Time Exceeded ≥1427ms ≥256.0 KiB
#3 Time Exceeded ≥1448ms ≥256.0 KiB
#4 Time Exceeded ≥1445ms ≥228.0 KiB
#5 Time Exceeded ≥1458ms ≥280.0 KiB
#6 Time Exceeded ≥1458ms ≥256.0 KiB
#7 Time Exceeded ≥1454ms ≥236.0 KiB
#8 Time Exceeded ≥1456ms ≥240.0 KiB
#9 Time Exceeded ≥1456ms ≥260.0 KiB
#10 Time Exceeded ≥1474ms ≥228.0 KiB

信息

递交者
类型
递交
题目
P1151 黑皮的正方形
语言
C
递交时间
2021-01-26 15:46:03
评测时间
2021-01-26 15:46:03
评测机
分数
0
总耗时
≥14512ms
峰值内存
≥280.0 KiB