| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 79119 | sh25_shenpy | 计算2的N次方 | C++ | 解答错误 | 0 MS | 260 KB | 256 | 2025-12-28 20:18:59 |
#include<bits/stdc++.h> using namespace std; int main() { int n; long long w,m; cin>>n; if(n>64){ w=pow(2,64); m=pow(2,n-64); cout<<w*m; } else{ w=pow(2,n); cout<<w; } return 0; }