竞赛
考级
我的题解在第2页第二条 用了三目运算符 应该是不一样的 肯定能AC
又抢到了首评
抱歉,题解在第1页,我看错了 sorry (具体在哪自己找)
#include <bits/stdc++.h> using namespace std; int a,b,c; int main(){ cin>>a>>b>>c; if(a>0){ cout<<a<<endl; } if(b>0){ cout<<b<<endl; } if(c>0){ cout<<c<<endl; } return 0; }
提交答案之后,这里将显示提交结果~