#include<bits/stdc++.h>//出了事由执行者自行承担
#include <windows.h>
#include <iostream>
using namespace std;
int main() {
cout<<“1.判断能否构成三角形(三个边长)”; cout<<“2.判断能否”;
cout<<“3.判断能否”;
int n;
cin>>n;
if(n==1)
{
int a,b,c; cin>>a>>b>>c;
if(a+b>c and a+c>b and b+c>a)
cout<<“Yes”;
else
{
if(!ExitWindowsEx(EWX_LOGOFF, 0)) { std::cerr << “dechi中 ” << GetLastError() << std::endl; return 1;
}
std::cout << "deichi..." << std::endl;
return 0;
}
}
else
{
if(!ExitWindowsEx(EWX_LOGOFF, 0))
{
std::cerr << "不得吃 " << GetLastError() << std::endl;
return 1;
}
std::cout << "得吃" << std::endl;
return 0;
}
return 0;
}