/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int dp(int, int)':
/in/foo.cc:13:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (ans >= 0) return ans;ans = INF;
  ^~
/in/foo.cc:13:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (ans >= 0) return ans;ans = INF;
                           ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:24:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (n > 16) ans += sum[16] - (n - 16); cout << ans;
  ^~
/in/foo.cc:24:41: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (n > 16) ans += sum[16] - (n - 16); cout << ans;
                                         ^~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 8.215 MiB

信息

递交者
类型
自测
题目
P1921 严厉的班长
语言
C++
递交时间
2020-10-26 19:18:51
评测时间
2020-10-26 19:18:51
评测机
分数
10
总耗时
4ms
峰值内存
8.215 MiB