当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。
3 3 1 0 2 2 0 2 3 3.1415926
0.0 1.0 0.0
In the first test case,Tina has no way to play the pinao.So the answer is 0. In the second test case,The only way to play the piano is $k_1=1,k_2=1$,So the answer is $cos(0)\times cos(0)=1$ In the third test case,$k_1=1,k_2=2 ~~ or ~~ k_1=2,k_2=1$,so the ans is 0. Note that please use radians
Recommend | hujie |
时间上限 | 内存上限 |
3000/1500MS(Java/Others) | 131072/131072K(Java/Others) |