fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a, b, c;
  6. if (a==b)
  7. if (b==c) cout<<a<<"3\n";
  8. else cout<<a<<"2\n"<<c<<"1\n";
  9. else
  10. if (b==c) cout<<a<<"1\n"<<b<<"2\n";
  11. else
  12. if (a==c) cout<<a<<"2\n"<<b<<"1\n";
  13. else cout<<a<<"1/n"<<b<<"1/n"<<c<<"1/n";
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5316KB
stdin
12
45
65
stdout
03