Changed the folder structure of codeforces problemsets
This commit is contained in:
24
codeforces/problemsets/watermelon/watermelon.cpp
Normal file
24
codeforces/problemsets/watermelon/watermelon.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <cmath>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(){
|
||||
ios::sync_with_stdio(0);
|
||||
cin.tie(0);
|
||||
|
||||
int n;
|
||||
cin >> n;
|
||||
|
||||
if(n > 2 && n % 2 == 0){
|
||||
cout << "YES";
|
||||
} else{
|
||||
cout << "NO";
|
||||
}
|
||||
|
||||
cout << flush;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user