/ 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 49ms 26.367 MiB
#2 Accepted 55ms 26.367 MiB
#3 Accepted 47ms 26.375 MiB
#4 Accepted 209ms 30.367 MiB
#5 Accepted 198ms 30.367 MiB
#6 Accepted 281ms 30.371 MiB
#7 Accepted 222ms 30.367 MiB
#8 Accepted 810ms 34.367 MiB
#9 Accepted 793ms 34.367 MiB
#10 Accepted 401ms 34.367 MiB

信息

递交者
类型
递交
题目
P1620 小白逛公园加强版
语言
C++
递交时间
2022-04-10 21:31:49
评测时间
2022-04-10 21:31:49
评测机
分数
100
总耗时
3068ms
峰值内存
34.367 MiB