fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int speaker, secondSpeaker, thirdSpeaker;
  6. cin >> speaker >> secondSpeaker >> thirdSpeaker;
  7. if ((speaker != secondSpeaker) || (speaker != thirdSpeaker) || (secondSpeaker != thirdSpeaker)) {
  8. cout << "DA" << '\n';
  9. }
  10. else {
  11. cout << "NU" << '\n';
  12. }
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5272KB
stdin
Standard input is empty
stdout
DA