A. Watermelon | CodeForces - Samsus Salehin Sabbir

Header Ads

A. Watermelon | CodeForces

Problem Link : A. Watermelon

Solution :
      Develop by
 Samsus Salehin Sabbir 


  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int w;
  6. cin >> w;
  7. if (w % 2 == 0 && w > 2)
  8. {
  9. cout << "YES" << endl;
  10. }
  11. else
  12. {
  13. cout << "NO" << endl;
  14. }
  15. return 0;
  16. }

No comments

Powered by Blogger.