/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dts::tr_dfs1(dts::ll, dts::ll)':
foo.cc:29:22: warning: comparison of integer expressions of different signedness: 'dts::ll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   29 |         for (ll i=0;i<tr[now].s.size();i++)
      |                     ~^~~~~~~~~~~~~~~~~
foo.cc: In function 'void dts::tr_dfs2(dts::ll)':
foo.cc:41:22: warning: comparison of integer expressions of different signedness: 'dts::ll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   41 |         for (ll i=0;i<tr[now].s.size();i++)
      |                     ~^~~~~~~~~~~~~~~~~
foo.cc: In function 'void dts::main()':
foo.cc:53:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   53 |         scanf("%lld",&n);
      |         ~~~~~^~~~~~~~~~~
foo.cc:55:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   55 |             scanf("%lld",&num[i]);
      |             ~~~~~^~~~~~~~~~~~~~~~
foo.cc:61:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   61 |             scanf("%lld%lld%lld",&x,&y,&c);
      |             ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 19ms 9.375 MiB
#2 Accepted 9ms 9.375 MiB
#3 Accepted 10ms 9.375 MiB
#4 Accepted 9ms 9.5 MiB
#5 Accepted 23ms 9.5 MiB
#6 Accepted 11ms 9.625 MiB
#7 Accepted 18ms 10.25 MiB
#8 Accepted 31ms 11.996 MiB
#9 Accepted 155ms 18.242 MiB
#10 Accepted 147ms 18.242 MiB

信息

递交者
类型
递交
题目
P1487 景点中心
语言
C++
递交时间
2022-07-19 17:23:57
评测时间
2022-07-19 17:23:57
评测机
分数
100
总耗时
436ms
峰值内存
18.242 MiB