zl程序教程

您现在的位置是:首页 >  其它

当前栏目

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

and Codeforces div round
2023-09-14 09:03:50 时间

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;
}