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