/ 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:54: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:58: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.555 MiB
#2 Accepted 3ms 2.52 MiB
#3 Accepted 3ms 2.539 MiB
#4 Accepted 3ms 2.535 MiB
#5 Accepted 4ms 2.523 MiB
#6 Accepted 7ms 2.957 MiB
#7 Accepted 175ms 12.449 MiB
#8 Accepted 159ms 19.586 MiB
#9 Accepted 24ms 5.684 MiB
#10 Accepted 4ms 2.562 MiB

信息

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