Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
51473 zhangsicun 三角形判断 C++ 通过 0 MS 244 KB 301 2024-09-21 23:09:51

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int max = a; if (b > max) { max = b; } if (c > max) { max = c; } if(max < a+b){ cout<<"yes"; }else{ cout<<"no"; } return 0; }


测评信息: