题解 | 【模板】巴什博弈
【模板】巴什博弈
https://www.nowcoder.com/practice/9bb882504d574ec287f69e967ce0fb95
#include <iostream>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
int t;
cin>>t;
while(t--){
int n,m;
cin>>n>>m;
if(n%(m+1)!=0)cout<<"YES\n";
else cout<<"NO\n";
}
return 0;
}
// 64 位输出请用 printf("%lld")


