摘要: A给出一个数x,B每次猜一个y,A回答B,x是否可以被y整除,求出要猜的最小次数和需要猜的数。枚举每个素数p,可以知道如果p^k 2 # include 3 # include 4 # include 5 # include 6 # include 7 # include 8 # inc... 阅读全文
posted @ 2015-09-25 00:02 __Meng 阅读(308) 评论(0) 推荐(0) 编辑