fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. const int FIVE = 5;
  5.  
  6. int main() {
  7. int x;
  8. cin >> x;
  9. if (x % FIVE == 0) {
  10. cout << "DA";
  11. } else {
  12. cout << "NU";
  13. }
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5284KB
stdin
45
stdout
DA