fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int aRON , bRON, cRON;
  7.  
  8. cin >> aRON >> bRON >> cRON;
  9.  
  10. if (cRON == aRON + bRON); {cout << "DA";}
  11.  
  12. if (cRON /=aRON + bRON); {cout << "NU"; }
  13.  
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5276KB
stdin
12 2 14
stdout
DANU