Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
152726 鲁博睿 青蛙跳台阶 C++ Wrong Answer 1 MS 272 KB 275 2026-05-01 20:56:26

Tests(0/10):


Code:

#include <iostream> using namespace std; int main() { int n; int f = 1; cin >> n; if (n == 1) { cout << 1 << endl; return 0; } for (int i = 2; i <= n; i++) { f *= 2; } cout << f << endl; return 0; }


Run Info:

------Input------
40
------Answer-----
549755813888
------Your output-----
0