【Codeforces Round #425 (Div. 2) A】Sasha and Sticks
and Codeforces div round
2023-09-14 09:03:50 时间
傻逼题;
获取n/k;
对n/k的奇偶性讨论一下就好
0
#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;
}
相关文章
- Codeforces Round #326 (Div. 2) B. Pasha and Phone C. Duff and Weight Lifting
- [HTML5] Track First Contentful Paint with PerformanceObserver and Google Analytics
- [Immutable.js] Exploring Sequences and Range() in Immutable.js
- 【codeforces 1109B】Sasha and One More Name
- 【Codeforces 584C】Marina and Vasya
- 【Codeforces 1106D】Lunar New Year and a Wander
- 【Codecraft-18 and Codeforces Round #458 (Div. 1 + Div. 2, combined) D】Bash and a Tough Math Puzzle
- 【Codecraft-18 and Codeforces Round #458 (Div. 1 + Div. 2, combined) A】 Perfect Squares
- 【Codeforces Round #299 (Div. 2) E】Tavas and Pashmaks
- 【Codeforces Round #442 (Div. 2) A】Alex and broken contest
- 【77.39%】【codeforces 734A】Anton and Danik
- 【44.64%】【codeforces 743C】Vladik and fractions
- 【52.49%】【codeforces 556A】Case of the Zeros and Ones
- 【55.70%】【codeforces 557A】Ilya and Diplomas
- 【codeforces 789B】Masha and geometric depression
- 【21.58%】【codeforces 746D】Green and Black Tea
- 【codeforces 798C】Mike and gcd problem
- 【codeforces 514E】Darth Vader and Tree
- 【codeforces 761E】Dasha and Puzzle
- 【Codeforces Round #435 (Div. 2) B】Mahmoud and Ehab and the bipartiteness
- 【Codeforces Round #430 (Div. 2) B】Gleb And Pizza
- 【 Codeforces Round #425 (Div. 2) D】Misha, Grisha and Underground
- 【Codeforces Round #421 (Div. 2) A】Mister B and Book Reading
- 【codeforces 816B】Karen and Coffee
- 【codeforces 816A】Karen and Morning
- 【codeforces 367C】Sereja and the Arrangement of Numbers
- Codeforces Round #250 (Div. 2)—A. The Child and Homework
- Codeforces Round #252 (Div. 2) B. Valera and Fruits(模拟)
- Codecraft-18 and Codeforces Round #458 (Div. 1 + Div. 2, combined)
- Codeforces Round #410 (Div. 2) B. Mike and strings
- 赛后题解:Codeforces Round #852 (Div. 2)1793C Dora and Search