摘要: 1417 天堂里的游戏 基准时间限制:1 秒 空间限制:131072 KB 分值: 10 难度:2级算法题 收藏 关注 多年后,每当Nod... 阅读全文
posted @ 2017-03-09 21:02 legolas007 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 题意:给出x和正整数n,问最少需要几次乘除法 可以得到n = x^m //打表法对1~1000的数打表 #include #include using namespace std;const int ans[]={0,1,2,2,3,3,4,3,4,4,5,4... 阅读全文
posted @ 2017-03-09 17:31 legolas007 阅读(23) 评论(0) 推荐(0) 编辑