跳到正文

个人记录

B3885 [语言月赛 202311] 食堂

_LIZI_约 1 分钟
原文
文章信息与版本

文章信息

发布
2023年11月26日
收录
2026年4月21日
更新
2026年11月17日
篇幅
约 1 分钟

版本

  1. v1当前
C++
#include<bits/stdc++.h>
using namespace std;
int a,s,d,f,g;
int main()
{
	cin>>a>>s>>d>>f>>g;
	cout<<s*d+a*d*2*2<<" "<<s*f+a*f*3*2<<" "<<s*g+a*g*3*2;
    return 0;
}
原文