记录详情

Accepted

/in/foo.cc: In function 'int dfs(int, int, int, int, int)':
/in/foo.cc:17:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if( int(2*(n-v)/lastr) + s >= ans) 
     ^~
/in/foo.cc:19:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  for(int i=min(lastr-1,int(sqrt(n-v)));i>=k;i--){ // r
  ^~~
/in/foo.cc:26:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 5ms 316.0 KiB
#2 Accepted 6ms 316.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Accepted 2ms 312.0 KiB
#5 Accepted 6ms 316.0 KiB

信息

递交者
类型
递交
题目
生日蛋糕
题目数据
下载
语言
C++
递交时间
2018-10-31 08:42:49
评测时间
2018-10-31 08:42:49
评测机
分数
100
总耗时
22ms
峰值内存
316.0 KiB