当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。

建议使用的浏览器:

谷歌Chrome 火狐Firefox Opera浏览器 微软Edge浏览器 QQ浏览器 360浏览器 傲游浏览器

7014:VC Is All You Need

题目描述






Three points example.



Four points example.

In this picture you can draw a line to seperate these $3$ points in the two dimensional plane to keep points with the same color lie in the same side no matter how to color each point using either blue or red.

But in $k$ dimensional real Euclidean space $R^k$, can you find $n$ points satisfying that there always exsit a $k-1$ dimensional hyperplane to seperate them in any one of $2^n$ coloring schemes?
输入解释
The first line contains only one integer $T(1 \le T \le 10^5)$ denoting the number of test cases.

Each of next $T$ lines contains two integers $n, k \in [2,10^{18}]$ seperated by a space.
输出解释
Print $Yes$ if you can find one solution, or print $No$ if you cannot.
输入样例
3
2 2
3 2
4 2
输出样例
Yes
Yes
No

该题目是Virtual Judge题目,来自 杭电HDUOJ

源链接: HDU-7014

最后修改于 2021-10-23T19:11:03+00:00 由爬虫自动更新

共提交 0

通过率 --%
时间上限 内存上限
2000/1000MS(Java/Others) 262144/262144K(Java/Others)