极限扫盲——三个判断分开
原题链接:482.找到大于0的数2026-08-28 19:55:38
发布于:黑龙江
#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;
}
这里空空如也
















有帮助,赞一个