| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158936 | 张蔚林 | 22兔子问题 | C++ | Accepted | 1 MS | 276 KB | 206 | 2026-08-23 13:58:43 |
#include<bits/stdc++.h> using namespace std; int main() { int m,x[10001],h=0,t=0,j=0; cin>>m; for(int i=0;i<m;i++){ cin>>x[i]; h+=x[i]; } t=h*4; j=h*2; cout<<t<<' '<<j; return 0; }