/ 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 25ms 26.434 MiB
#2 Accepted 26ms 26.48 MiB
#3 Accepted 30ms 26.555 MiB
#4 Accepted 29ms 26.605 MiB
#5 Accepted 29ms 26.637 MiB
#6 Accepted 29ms 26.645 MiB
#7 Accepted 138ms 28.512 MiB
#8 Accepted 140ms 28.773 MiB
#9 Accepted 616ms 32.352 MiB
#10 Accepted 618ms 31.695 MiB

信息

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