【Codeforces Round #425 (Div. 2) A】Sasha and Sticks

Link:

Description

Solution

傻逼题;
获取n/k;
对n/k的奇偶性讨论一下就好

NumberOf WA

0

Reviw


Code

#include <bits/stdc++.h>
#define LL long long
using namespace std;

LL n,k;

int main(){
    //freopen("F:\\rush.txt","r",stdin);
    scanf("%lld%lld",&n,&k);
    LL temp = n/k;
    if (temp%2==1){
        puts("YES");
    }else{
        puts("NO");
    }
    return 0;
}
posted @ 2017-10-04 18:44  AWCXV  阅读(69)  评论(0)    收藏  举报