记录详情

Accepted

foo.cc: In member function ‘Bright Bright::add(Bright)’:
foo.cc:41:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   41 |                         if (b.arr[i]>=10)
      |                         ^~
foo.cc:44:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   44 |                                 b.arr[i+1]+=b.arr[i]/10;
      |                                 ^
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 2ms 328.0 KiB
#3 Accepted 2ms 768.0 KiB
#4 Accepted 3ms 324.0 KiB
#5 Accepted 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1024 OO6-2 高精度整数类的加法运算
比赛
2024春 面向对象的程序设计方法(第3场作业赛)
语言
C++
递交时间
2024-05-03 10:44:02
评测时间
2024-05-03 10:44:02
评测机
分数
100
总耗时
14ms
峰值内存
768.0 KiB