/ 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 174ms 8.301 MiB
#2 Accepted 5ms 8.215 MiB
#3 Accepted 10ms 8.203 MiB
#4 Accepted 12ms 8.203 MiB
#5 Accepted 39ms 8.203 MiB
#6 Accepted 26ms 8.203 MiB
#7 Accepted 163ms 8.297 MiB
#8 Accepted 23ms 8.215 MiB
#9 Accepted 113ms 8.301 MiB
#10 Accepted 135ms 8.297 MiB
#11 Accepted 123ms 8.301 MiB
#12 Accepted 101ms 8.297 MiB
#13 Accepted 116ms 8.297 MiB
#14 Accepted 103ms 8.301 MiB
#15 Accepted 115ms 8.301 MiB
#16 Accepted 172ms 8.301 MiB
#17 Accepted 177ms 8.301 MiB
#18 Accepted 180ms 8.301 MiB
#19 Accepted 168ms 8.301 MiB
#20 Accepted 155ms 8.301 MiB

信息

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