Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
72832 张梓晨 14兔子问题 C++ Wrong Answer 1 MS 276 KB 222 2024-05-12 20:37:41

Tests(0/1):


Code:

#include<iostream> using namespace std; int main(){ int a[101],b,h=0; cin>>b; for(int i=1;i<=b;i++){ cin>>a[i]; h+=a[i]; } cout<<h*4<<" "<<h*2; return 0; }


Run Info:

------Input------
0
------Answer-----
13 8 13
------Your output-----
0 0