/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:17:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   17 |  scanf("%d%d%d%d", &n, &m, &v, &e);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:18:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   18 |  for(int i=1;i<=n;i++)scanf("%d", c+i);
      |                       ~~~~~^~~~~~~~~~~
foo.cc:19:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   19 |  for(int i=1;i<=n;i++)scanf("%d", d+i);
      |                       ~~~~~^~~~~~~~~~~
foo.cc:20:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   20 |  for(int i=1;i<=n;i++)scanf("%lf", p+i);
      |                       ~~~~~^~~~~~~~~~~~
foo.cc:27:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   27 |   scanf("%d%d%d", &x, &y, &z);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 58ms 1.125 MiB
#2 Accepted 2ms 384.0 KiB
#3 Wrong Answer Read 21.81, expect 21.97. 7ms 640.0 KiB
#4 Wrong Answer Read 15.67, expect 16.70. 53ms 1.125 MiB
#5 Accepted 2ms 384.0 KiB
#6 Wrong Answer Read 8.99, expect 8.55. 5ms 640.0 KiB
#7 Wrong Answer Read 11.36, expect 12.65. 55ms 1.125 MiB
#8 Accepted 56ms 1.125 MiB
#9 Wrong Answer Read 14.56, expect 123.20. 2ms 384.0 KiB
#10 Wrong Answer Read 23.09, expect 111.14. 5ms 640.0 KiB
#11 Wrong Answer Read 83.00, expect 84.00. 51ms 1.125 MiB
#12 Accepted 2ms 512.0 KiB
#13 Wrong Answer Read 156.33, expect 518.22. 5ms 640.0 KiB
#14 Wrong Answer Read 35.94, expect 73.91. 47ms 1.125 MiB
#15 Accepted 52ms 1.117 MiB
#16 Accepted 3ms 1.625 MiB
#17 Wrong Answer Read 744.69, expect 9485.90. 5ms 1.75 MiB
#18 Accepted 73ms 2.242 MiB
#19 Accepted 43ms 2.367 MiB
#20 Accepted 10ms 8.375 MiB
#21 Wrong Answer Read 34995.23, expect 266618.33. 11ms 8.375 MiB
#22 Wrong Answer Read 1077.89, expect 30065.03. 15ms 8.625 MiB
#23 Wrong Answer Read 50.89, expect 14299.96. 27ms 17.75 MiB
#24 Wrong Answer Read 23.36, expect 10027.98. 114ms 33.742 MiB
#25 Wrong Answer Read 13.24, expect 9480.63. 164ms 62.492 MiB

信息

递交者
类型
递交
题目
P2005 换教室
语言
C++
递交时间
2022-07-10 17:57:23
评测时间
2022-07-10 17:57:23
评测机
分数
40
总耗时
879ms
峰值内存
62.492 MiB