/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:57:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   57 | scanf("%d", &digit);
      | ~~~~~^~~~~~~~~~~~~~
foo.cc:58:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   58 | scanf("%d", &leftNum);
      | ~~~~~^~~~~~~~~~~~~~~~
foo.cc:59:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   59 | scanf("%d", &rightNum);
      | ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:61:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   61 | scanf("%d", &p[i]);
      | ~~~~~^~~~~~~~~~~~~
foo.cc:62:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   62 | scanf("%d", &q[i]);
      | ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 1611090. 1ms 256.0 KiB
#2 Time Exceeded ≥1099ms ≥256.0 KiB
#3 Wrong Answer Read 1444, expect 178. 1ms 256.0 KiB
#4 Wrong Answer Read 0, expect 439. 1ms 256.0 KiB
#5 Wrong Answer Read 0, expect 98557. 1ms 256.0 KiB
#6 Wrong Answer Read 0, expect 373818. 1ms 256.0 KiB
#7 Wrong Answer Read 0, expect 278517. 1ms 256.0 KiB
#8 Wrong Answer Read 0, expect 980818. 1ms 256.0 KiB
#9 Wrong Answer Read 0, expect 509924. 1ms 256.0 KiB
#10 Wrong Answer Read 0, expect 774887. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1854 火柴游戏
语言
C++
递交时间
2021-12-13 20:48:09
评测时间
2021-12-13 20:48:09
评测机
分数
0
总耗时
≥1112ms
峰值内存
≥256.0 KiB