3
std::cout << (abs(b - c) < a) && a < b + c ? 1 : 0;
我想檢查給定值是否可以創建三角形。我得到了警告:警告:條件的第二個/第三個操作數不起作用[-Wunused-value]
second operand of conditional expression has no effect [-Wunused-value]
third operand of conditional expression has no effect [-Wunused-value]
怎麼了?
我的意思是'std :: cout <<((abs(b-c) Wobbly