摘要: 解析:把式子的x分出来,就是x*(2^0+2^1......+2^k-1)=n。所以先累加括号里的值打个表,只要n能整除它就输出 #include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace 阅读全文
posted @ 2020-04-23 21:31 liyexin 阅读(219) 评论(0) 推荐(0)