过时香氛

文章
3
资源
0
加入时间
4年0月1天

HDU 5981 Guess the numberHDU 5981 Guess the number

HDU 5981 Guess the number原题链接: http://acm.hdu.edu.cn/showproblem.php?pid=5981题目大意是:AA在区间[a,b][a,b]上猜一个数字,BB猜测AA猜测的数字。如果BB猜测小了AA会告诉他,一旦BB猜测的大了。AA不会再告诉BB,直到B猜到这个数字为止 游戏结束。问,在BB每次做决定后。情况最差时。最少猜测多少次。那么猜测次