竞赛
考级
嫌疑を避ける ~~
zsy
#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(ab && bc){ cout<<"aaa"; }else{ if(ab || ac || b==c){ cout<<"aab"; }else{ cout<<"abc"; } } }else{ cout<<"error"; } return 0; }
"c--"
186****8957
Dream
#include<iostream> int main(){ int a,b,c; cin>>a>>b>>c; if(a+b > c and a+c >b andb+c>a){ if(ab and bc) cout << "aaa"; else if(ab || bc or a==c) cout<<"aab"; else cout <<"abc"; }else{ printf("error") }
Man
Minecraft爱好者
彤
陈炜涵
a,b,c=input().split() a=int(a) b=int(b) c=int(c) if a+b>c and a+c>b and b+c>a: if abc: print('aaa') elif ab or ac or c==b : print('aab') else: print('abc') else: print('error')
137****3875
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a+b>c&&b+c>a&&a+c>b){ if(ab&&ac) cout<<"aaa"; else if(ab||bc||a==c) cout<<"aab"; else cout<<"abc"; } else cout<<"error"; return 0; }
~Lyney~
int main(){ int a,b,c; cin>>a>>b>>c; if(a+b>=c&&a+c>=b&&c+b>=a) { if(a!=b&&a!=c&&b!=c) cout<<"abc"; else if(ab&&a!=c&&b!=c||a!=b&&ac&&b!=c||a!=b&&a!=c&&b==c) cout<<"aab"; else cout<<"aaa"; } else cout<<"error"; return 0; }
菜就多练
6.
YuQing1919
#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(ab&&bc){ cout<<"aaa"; }else if(ab||ac||b==c){ cout<<"aab"; }else{ cout<<"abc"; } }else{ cout<<"error"; } return 0; }
七梅与柒白
复制战神
共36条