Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102456 王思颜 桃子问题 C++ Accepted 1 MS 260 KB 198 2024-12-21 16:49:35

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int num = 1; for (int i = 9; i >= 1; --i) { num = (num + 1) * 2; } cout << num << endl; return 0; }