记录详情

Accepted

/in/foo.cc: In member function 'virtual bool CheckingAccount::debit(double)':
/in/foo.cc:116:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  else if (b > balance)
       ^~
/in/foo.cc:118:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   return false;
   ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 224.0 KiB
#2 Accepted 2ms 216.0 KiB
#3 Accepted 2ms 228.0 KiB
#4 Accepted 2ms 216.0 KiB
#5 Accepted 2ms 220.0 KiB

信息

递交者
类型
递交
题目
P1009 12.14 Polymorphic Banking Program Using Account Hierarchy
语言
C++
递交时间
2020-03-27 23:28:58
评测时间
2020-03-27 23:28:58
评测机
分数
100
总耗时
10ms
峰值内存
228.0 KiB