/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dts::tr_dfs1(int, int)':
foo.cc:28:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         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 between signed and unsigned integer expressions [-Wsign-compare]
             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]
         scanf("%d",&n);
         ~~~~~^~~~~~~~~
foo.cc:210:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             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]
             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]
         scanf("%d\n",&m);
         ~~~~~^~~~~~~~~~~
foo.cc:228:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%c%d%d\n",&K,&x,&y);
             ~~~~~^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 26ms 26.367 MiB
#2 Accepted 26ms 26.48 MiB
#3 Accepted 37ms 26.566 MiB
#4 Accepted 35ms 26.715 MiB
#5 Accepted 35ms 26.758 MiB
#6 Accepted 36ms 26.645 MiB
#7 Accepted 172ms 28.512 MiB
#8 Accepted 176ms 28.715 MiB
#9 Accepted 721ms 32.32 MiB
#10 Accepted 719ms 31.66 MiB

信息

递交者
类型
递交
题目
P1986 小h的妹子树二
语言
C++
递交时间
2021-07-22 16:22:44
评测时间
2021-07-22 16:22:44
评测机
分数
100
总耗时
1986ms
峰值内存
32.32 MiB