/ new_bzoj /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=mx;i;i--)if(dp[n][i])return printf("%d\n",i),0; return puts("-1"),0;
  ^~~
/in/foo.cc:8:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  for(int i=mx;i;i--)if(dp[n][i])return printf("%d\n",i),0; return puts("-1"),0;
                                                            ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 2.32 MiB
#2 Accepted 1ms 328.0 KiB
#3 Accepted 2ms 324.0 KiB
#4 Accepted 2ms 464.0 KiB
#5 Accepted 3ms 2.445 MiB
#6 Accepted 1ms 584.0 KiB
#7 Accepted 1ms 332.0 KiB
#8 Accepted 2ms 704.0 KiB
#9 Accepted 1ms 580.0 KiB
#10 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
题目
音量调节
语言
C++
递交时间
2017-10-21 15:41:16
评测时间
2017-10-21 15:41:16
评测机
分数
100
总耗时
23ms
峰值内存
2.445 MiB