CPZT ACGO
2024-01-12 18:20:56
发布于:辽宁
7阅读
0回复
0点赞
#include <iostream>
using namespace std;
int main() {
int a,b,c;
cin >> a >> b >> c;
if (a + b > c && a + c > b && b + c > a) {
if (a == b && a == c && b == c) {
cout << "aaa";
}else if (a == b || a == c || b == c) {
cout << "aab";
}else {
cout << "abc";
}
}else {
cout << "error";
}
return 0;
}
这里空空如也
有帮助,赞一个