/ 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);
             ~~~~~^~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 22ms 26.383 MiB
#2 Accepted 23ms 26.445 MiB
#3 Accepted 29ms 26.551 MiB
#4 Accepted 28ms 26.715 MiB
#5 Accepted 27ms 26.727 MiB
#6 Accepted 29ms 26.637 MiB
#7 Accepted 147ms 28.48 MiB
#8 Accepted 154ms 28.746 MiB
#9 Accepted 633ms 32.348 MiB
#10 Accepted 628ms 31.746 MiB

信息

递交者
类型
递交
题目
P1986 小h的妹子树二
语言
C++
递交时间
2021-01-19 17:55:12
评测时间
2021-01-19 17:55:12
评测机
分数
100
总耗时
1723ms
峰值内存
32.348 MiB