/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dfs(int, int)':
foo.cc:7:26: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    7 | #define REP( i , l , r ) for ( int i = l ; i <= r ; ++ i )
      |                          ^~~
foo.cc:45:1: note: in expansion of macro 'REP'
   45 | REP( i , 0 , n ) dp[ l ][ r ][ i ] = 0 ; return ;
      | ^~~
foo.cc:45:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   45 | REP( i , 0 , n ) dp[ l ][ r ][ i ] = 0 ; return ;
      |                                          ^~~~~~
foo.cc: In function 'int getp(int)':
foo.cc:33:1: warning: control reaches end of non-void function [-Wreturn-type]
   33 | }
      | ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 412.0 KiB
#2 Accepted 1ms 540.0 KiB
#3 Accepted 3ms 668.0 KiB
#4 Accepted 5ms 796.0 KiB
#5 Accepted 6ms 964.0 KiB
#6 Accepted 10ms 1.203 MiB
#7 Accepted 14ms 1.375 MiB
#8 Accepted 24ms 1.645 MiB
#9 Accepted 35ms 2.059 MiB
#10 Accepted 1ms 368.0 KiB

信息

递交者
类型
递交
题目
P1821 二叉查找树
语言
C++
递交时间
2023-05-19 20:55:16
评测时间
2023-05-19 20:55:16
评测机
分数
100
总耗时
107ms
峰值内存
2.059 MiB