/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:19:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   19 |     scanf("%d%d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:20:32: 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("%d",&w[i]);
      |                           ~~~~~^~~~~~~~~~~~
foo.cc:24:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   24 |         scanf("%d%d%d",&ai,&bi,&wi);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:28:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   28 |     scanf("%d",&q);
      |     ~~~~~^~~~~~~~~
foo.cc:31:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   31 |         scanf("%d%d",&ui,&vi);
      |         ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 1.25 MiB
#2 Accepted 3ms 1.25 MiB
#3 Wrong Answer Read -1936878075, expect 5835. 3ms 1.25 MiB
#4 Wrong Answer Read -1, expect 1455. 5ms 1.375 MiB
#5 Wrong Answer Read -1, expect 5011. 3ms 1.25 MiB
#6 Wrong Answer Read -1, expect 1497. 3ms 1.375 MiB
#7 Wrong Answer Read -2004317852, expect 1628. 6ms 1.25 MiB
#8 Wrong Answer Read -1, expect 601. 35ms 1.492 MiB
#9 Wrong Answer Read -1785139249, expect 2525. 9ms 1.375 MiB
#10 Wrong Answer Read -1701128538, expect 492. 21ms 1.25 MiB

信息

递交者
类型
递交
题目
P1746 小D的旅行
语言
C++
递交时间
2022-03-19 07:09:27
评测时间
2022-03-19 07:09:27
评测机
分数
20
总耗时
96ms
峰值内存
1.492 MiB