最大三角形周長、相似數的個數

#include <iostream> #include <vector> using namespace std; bool isTriangle(int a, int b, int c) { if(a+b > c && b + c > a && a+c > b) return true; return false; } int solution(vector<int> &A) {
相關文章
相關標籤/搜索