过时香氛

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

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每次做决定后。情况最差时。最少猜测多少次。那么猜测次

配置minicom串口

QT6410开发板,CPU:S3C6410.。。。在终端敲minicom  -s 命令:1,serial port setup ——串口设置serial device:/dev/ttyS0(台式机)    或者/dev/ttyUSB0(笔记本)比特率设置 115200 8N1hardware flow contorl:NOsoftware flow contorl:NO