记录详情

Accepted

/in/foo.cc: In function 'int gcd(int, int)':
/in/foo.cc:5:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(a*b==0)return a+b;return min(a,b);
  ^~
/in/foo.cc:5:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(a*b==0)return a+b;return min(a,b);
                       ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 1ms 228.0 KiB
#5 Accepted 1ms 216.0 KiB

信息

递交者
类型
递交
题目
A6-3 最大公约数专题:多个分数的加法
比赛
南师大2020(1,4)程序设计基础课程作业(2020-11-17)
语言
C++
递交时间
2020-11-17 14:02:51
评测时间
2020-11-17 14:02:51
评测机
分数
100
总耗时
7ms
峰值内存
228.0 KiB