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