fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a, b;
  6. cin >> a >> b;
  7. if ((a != b && (a > 0 && b > 0))) {
  8. cout << "DA";
  9. } else if ((a == 0 && b > 0)) {
  10. cout << b << a;
  11. } else if (a == 0 && b == 0) {
  12. cout << 0;
  13. } else if ((a > 0 && b == 0) || (a == b)) {
  14. cout << a << b;
  15. }
  16. return 0;
  17. }
Success #stdin #stdout 0.01s 5316KB
stdin
0 0 
stdout
Standard output is empty