/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:18:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   18 |     scanf("%d%d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:19:32: 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",&w[i]);
      |                           ~~~~~^~~~~~~~~~~~
foo.cc:23:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 |         scanf("%d%d%d",&ai,&bi,&wi);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:27:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   27 |     scanf("%d",&q);
      |     ~~~~~^~~~~~~~~
foo.cc:30:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   30 |         scanf("%d%d",&ui,&vi);
      |         ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 2552 2d2 < 5854 4ms 1.25 MiB
#2 Wrong Answer Read 3781, expect 3572. 4ms 1.25 MiB
#3 Wrong Answer Read -1936881797, expect 5835. 5ms 1.25 MiB
#4 Wrong Answer Read 151655364, expect 1455. 5ms 1.375 MiB
#5 Wrong Answer Read 151606326, expect 5011. 7ms 1.25 MiB
#6 Wrong Answer Read 219038069, expect 1497. 8ms 1.5 MiB
#7 Wrong Answer Read -2004308830, expect 1628. 9ms 1.375 MiB
#8 Wrong Answer Read 134775302, expect 601. 61ms 1.867 MiB
#9 Wrong Answer Read -1785140737, expect 2525. 9ms 1.375 MiB
#10 Wrong Answer Read -1701125537, expect 492. 31ms 1.609 MiB

信息

递交者
类型
递交
题目
P1746 小D的旅行
语言
C++
递交时间
2022-03-19 06:46:37
评测时间
2022-03-19 06:46:37
评测机
分数
0
总耗时
149ms
峰值内存
1.867 MiB