/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dfs(int, int, int, int)':
foo.cc:28:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<g[x].size();i++)
              ~^~~~~~~~~~~~
foo.cc: In function 'void check(int, int)':
foo.cc:43:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<path[u][v].size();i++)
               ~^~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:55:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&s);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:59:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d",&u,&v,&w);
   ~~~~~^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 2.496 MiB
#2 Accepted 3ms 2.477 MiB
#3 Accepted 3ms 2.5 MiB
#4 Accepted 4ms 2.5 MiB
#5 Accepted 3ms 2.5 MiB
#6 Accepted 6ms 2.957 MiB
#7 Accepted 93ms 12.445 MiB
#8 Accepted 96ms 19.695 MiB
#9 Accepted 21ms 5.684 MiB
#10 Accepted 3ms 2.582 MiB

信息

递交者
类型
递交
题目
P1362 树网的核
语言
C++
递交时间
2021-08-19 10:29:02
评测时间
2021-08-19 10:29:02
评测机
分数
100
总耗时
242ms
峰值内存
19.695 MiB