Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
39447 张予馨 三角形判断 C++ 通过 0 MS 240 KB 256 2024-02-01 18:22:03

Tests(1/1):


#include<iostream> using namespace std; int main() { int x,y,z; cin>>x>>y>>z; if(x>=y){ if(x-y<z&&z<x+y){ cout<<"yes"; } else cout<<"no"; } if(y>x){ if(y-x<z&&z<x+y){ cout<<"yes"; } else cout<<"no"; } return 0; }


测评信息: