摘要: #include<iostream> using namespace std; int main() { int n; while (cin >> n, n != 0) { int m=1; for (int i = 1;i < n;++i) { m = (m + 1) * 2; } cout << 阅读全文
posted @ 2017-07-07 22:39 HANCAO 阅读(215) 评论(1) 推荐(0)
摘要: http://acm.tzc.edu.cn/acmhome/problemdetail.do?&method=showdetail&id=1369 阅读全文
posted @ 2017-07-07 21:08 HANCAO 阅读(233) 评论(1) 推荐(0)