/ 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:27:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   27 |         scanf("%d%d%d",&ai,&bi,&wi);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:31:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   31 |     scanf("%d",&q);
      |     ~~~~~^~~~~~~~~
foo.cc:34:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   34 |         scanf("%d%d",&ui,&vi);
      |         ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Wrong Answer Read 1780, expect 5445. 2ms 512.0 KiB
#4 Wrong Answer Read 1814, expect 1455. 4ms 512.0 KiB
#5 Wrong Answer Read -1741419051, expect 5011. 3ms 512.0 KiB
#6 Wrong Answer Read 1047, expect 1497. 3ms 512.0 KiB
#7 Wrong Answer Read -1045127791, expect 1628. 3ms 512.0 KiB
#8 Wrong Answer Read -2147482415, expect 601. 34ms 888.0 KiB
#9 Wrong Answer Read -1451179463, expect 2525. 10ms 640.0 KiB
#10 Wrong Answer Read 638, expect 492. 26ms 768.0 KiB

信息

递交者
类型
递交
题目
P1746 小D的旅行
语言
C++
递交时间
2022-03-19 06:56:38
评测时间
2022-03-19 06:56:38
评测机
分数
20
总耗时
94ms
峰值内存
888.0 KiB