/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dfs(int, int)':
foo.cc:61:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   61 | travel( now ) if ( p -> t != fa ) if ( used[ p -> t ] ) {
      |                  ^
foo.cc: In function 'int main()':
foo.cc:110:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  110 | scanf( "%d%d" , &n , &m ) ;
      | ~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:112:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  112 | int s , t , w ; scanf( "%d%d%d" , &s , &t , &w ) ;
      |                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 2.75 MiB
#2 Accepted 4ms 2.75 MiB
#3 Accepted 5ms 2.875 MiB
#4 Accepted 96ms 11.492 MiB
#5 Accepted 99ms 11.648 MiB
#6 Accepted 7ms 4.25 MiB
#7 Accepted 5ms 4.375 MiB
#8 Accepted 6ms 4.375 MiB
#9 Accepted 111ms 13.117 MiB
#10 Accepted 115ms 13.242 MiB

信息

递交者
类型
递交
题目
P1807 迷失游乐园
语言
C++
递交时间
2022-04-19 20:52:50
评测时间
2022-04-19 20:52:50
评测机
分数
100
总耗时
457ms
峰值内存
13.242 MiB