fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main(){
  4. int a,b,c;
  5. cin>>a>>b>>c;
  6.  
  7.  
  8. if (a>b && a>c){
  9. cout<<b*c;
  10. }
  11.  
  12.  
  13. if (b>c && b>a){
  14. cout<<c*a;
  15. }
  16.  
  17.  
  18. if(c>b && c>a){
  19. cout<<b*a;
  20. }
  21. return 0;
  22. }
Success #stdin #stdout 0.01s 5320KB
stdin
1 3 4
stdout
3