提交时间:2025-11-28 20:28:39

运行 ID: 363767

#include<iostream> using namespace std; int main(){ int a, b, c, ap=1, bp=1, cp=1; cin>>a>>b>>c; if(a<b){ ap++; } if(a<c){ ap++; } if(b<a){ bp++; } if(b<c){ bp++; } if(c<b){ cp++; } if(c<a){ cp++; } cout<<ap<<endl; cout<<bp<<endl; cout<<cp<<endl; return 0; }