Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
162030 王翊金恩 22兔子问题 C++ Accepted 1 MS 280 KB 229 2026-10-11 17:12:45

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int m; cin>>m; long long t=0; for(int i=0;i<m;i++) { int x; cin>>x; t+=x; } cout<<t*4<<" " <<t*2<<endl; return 0; }