/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dts::tr_dfs1(int, int)':
foo.cc:28:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |         for (int i=0;i<tr[now].s.size();i++)
      |                      ~^~~~~~~~~~~~~~~~~
foo.cc: In function 'void dts::tr_dfs2(int, int)':
foo.cc:48:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   48 |             for (int i=0;i<tr[now].s.size();i++)
      |                          ~^~~~~~~~~~~~~~~~~
foo.cc: In function 'void dts::main()':
foo.cc:208:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  208 |         scanf("%d",&n);
      |         ~~~~~^~~~~~~~~
foo.cc:210:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  210 |             scanf("%d",&data[i]);
      |             ~~~~~^~~~~~~~~~~~~~~
foo.cc:216:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  216 |             scanf("%d%d",&x,&y);
      |             ~~~~~^~~~~~~~~~~~~~
foo.cc:223:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  223 |         scanf("%d",&m);
      |         ~~~~~^~~~~~~~~
foo.cc:227:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  227 |             scanf("%d%d%d",&K,&x,&y);
      |             ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:233:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  233 |                 scanf("%d",&val);
      |                 ~~~~~^~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 91ms 26.383 MiB
#2 Accepted 75ms 26.332 MiB
#3 Accepted 76ms 26.367 MiB
#4 Accepted 232ms 30.242 MiB
#5 Accepted 235ms 30.242 MiB
#6 Accepted 212ms 30.242 MiB
#7 Accepted 354ms 30.367 MiB
#8 Accepted 452ms 33.992 MiB
#9 Accepted 428ms 33.992 MiB
#10 Accepted 398ms 34.117 MiB

信息

递交者
类型
递交
题目
P1620 小白逛公园加强版
语言
C++
递交时间
2022-01-08 20:19:35
评测时间
2022-01-08 20:19:35
评测机
分数
100
总耗时
2557ms
峰值内存
34.117 MiB