07 2016 档案
摘要:P is a permutation of the integers from 1 to N(index starting from 1).Here is the code of Bubble Sort in C++. After the sort, the array is in increasi
阅读全文
摘要:Bo is a "Life Winner".He likes playing chessboard games with his girlfriend G.The size of the chessboard is N×M.The top left corner is numbered(1,1) a
阅读全文
摘要:Mr Wang wants some boys to help him with a project. Because the project is rather complex, the more boys come, the better it will be. Of course there
阅读全文
摘要:Professor Zhang draws n points on the plane, which are conveniently labeled by 1,2,...,n. The i-th point is at (xi,yi). Professor Zhang wants to know
阅读全文
摘要:题意就是让0号和n+1号主机通信,通过(proxy)代理服务器进行中转 当0号和n+1号直接相连且延时是最短的,则输出0,(注意是最短延时) 当0号和n+1号主机无法通过任何方式通信,则输出-1 当0号和n+1号主机可以通过代理服务器相连且有多条路径,则在这多条路径中选出和0号主机直接相连的最小代理
阅读全文

浙公网安备 33010602011771号