2024 年第 34 题完善程序数学函数与几何普及/提高判断平方数:②处应填题目完善程序:判断平方数(接上题)。 bool isSquare(int num){ int i = ①; int bound = ②; for(;i<=bound;++i){ if( ③ ){ return ④; } } return ⑤; } ②处应填( )A(int) floor(sqrt(num)-1)B(int)floor(sqrt(num))Cfloor(sqrt(num/2))-1Dfloor(sqrt(num/2))提交答案 · AC 可得 +40 XP考点拆解数学函数应用易错提醒阅读程序题要按变量变化顺序手推,不要跳步选择题要检查单位、边界和题目中的否定词