/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dfs(int, int)':
foo.cc:61:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
 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]
 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]
 int s , t , w ; scanf( "%d%d%d" , &s , &t , &w ) ;
                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 2.844 MiB
#2 Accepted 5ms 2.809 MiB
#3 Accepted 5ms 2.816 MiB
#4 Accepted 123ms 11.629 MiB
#5 Accepted 125ms 11.664 MiB
#6 Accepted 6ms 4.332 MiB
#7 Accepted 5ms 4.344 MiB
#8 Accepted 6ms 4.398 MiB
#9 Accepted 133ms 13.152 MiB
#10 Accepted 132ms 13.234 MiB

信息

递交者
类型
递交
题目
P1807 迷失游乐园
语言
C++
递交时间
2021-07-21 09:11:45
评测时间
2021-07-21 09:11:45
评测机
分数
100
总耗时
548ms
峰值内存
13.234 MiB