Codeforces 832A Sasha and Sticks

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/polanwind/article/details/87603575
#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstdio>
#include <math.h>
#include <string>
#include <algorithm>

using namespace std;

long long n, k;

int main() {
	scanf("%lld %lld", &n, &k);
	long long ans = n / k;
	if (ans % 2 == 0) {
		printf("NO\n");
	}
	else {
		printf("YES\n");
	}
	return 0;
}

猜你喜欢

转载自blog.csdn.net/polanwind/article/details/87603575
今日推荐