摘要: #include <iostream> using namespace std; int main() { int n; while (cin >> n) { int i = 1; //最终桃子数目 while (--n) { i = (i + 1) * 2; } cout << i << endl 阅读全文
posted @ 2019-08-25 18:07 Startu 阅读(151) 评论(0) 推荐(0)