/ Vijos /

记录详情

Accepted

foo.cc: In function 'void init()':
foo.cc:21:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   21 |     scanf("%d %d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~~
foo.cc:23:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 |  scanf("%d %d %d",&a[i].one,&a[i].two,&a[i].z);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:127:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  127 |     scanf("%d",&q);
      |     ~~~~~^~~~~~~~~
foo.cc:131:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  131 |         scanf("%d %d",&x,&y);
      |         ~~~~~^~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 5.0 MiB
#2 Accepted 5ms 5.0 MiB
#3 Accepted 8ms 5.125 MiB
#4 Accepted 8ms 5.25 MiB
#5 Accepted 12ms 5.25 MiB
#6 Accepted 24ms 5.125 MiB
#7 Accepted 51ms 5.742 MiB
#8 Accepted 42ms 5.617 MiB
#9 Accepted 35ms 5.625 MiB
#10 Accepted 35ms 5.625 MiB
#11 Accepted 34ms 5.742 MiB
#12 Accepted 40ms 5.617 MiB
#13 Accepted 57ms 7.242 MiB
#14 Accepted 56ms 6.867 MiB
#15 Accepted 40ms 7.0 MiB
#16 Accepted 42ms 7.0 MiB
#17 Accepted 78ms 7.242 MiB
#18 Accepted 80ms 6.867 MiB
#19 Accepted 59ms 6.742 MiB
#20 Accepted 77ms 6.867 MiB

信息

递交者
类型
递交
题目
P1843 货车运输
语言
C++
递交时间
2022-02-10 11:19:14
评测时间
2022-02-10 11:19:14
评测机
分数
100
总耗时
802ms
峰值内存
7.242 MiB