当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。
3 3 1 0 0 0 2 3 0 1 1 4 2 0 0 0 5 5 0 2 2 1 2 2 1 3 1 0 0 0 2 2 0 2 2
Case #1: 3.000000 Case #2: 5.000000 Case #3: -1
For the second case, we can choose a polygon ( (0,0),(0,5),(2,2),(5,0) ) with A=10 and B=2, if we choose a triangle ( (0,0),(0,5),(5,0) ), then A=12.5 and B=2. For the third case, whatever we choose, we can't have a polygon contain the mines.
Author | elfness@UESTC_Oblivion |
Recommend | zhuyuanchen520 |
时间上限 | 内存上限 |
6000/3000MS(Java/Others) | 65536/32768K(Java/Others) |