Skip to content

Commit 8310b5e

Browse files
committed
Added 832A - Sasha and Sticks.cpp
1 parent 86f0314 commit 8310b5e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

832A - Sasha and Sticks.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#include<bits/stdc++.h>
2+
using namespace std;
3+
4+
// Code Written By: Vikash Patel
5+
6+
// Codeforces Profile: https://codeforces.com/profile/vikashpatel
7+
8+
int main()
9+
{
10+
long long n,k;
11+
cin>>n>>k;
12+
if((n/k) & 1)
13+
cout<<"YES"<<endl;
14+
else
15+
cout<<"NO"<<endl;
16+
}
17+

0 commit comments

Comments
 (0)