这个判断是否构成三角形的代码有bug,请问bug是什么,怎么修改?
is_triangle = function(a,b,c){ triple = c(a,b,c) max_index = which.max(triple) cond = (triple[max_index]<sum(triple[-max_index])) return(cond) }
https://ask.csdn.net/questions/779198?sort=votes_count