跳到正文

题解

题解:P16208 [ECUSTPC 2025] 金色走廊

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

文章信息

发布
2026年4月9日
收录
2026年4月10日
更新
2026年10月31日
篇幅
约 1 分钟
题目
P16208

版本

  1. v1当前

简单模拟题。

思路

将各奖项的奖金 ×\times 奖项数量之后 ÷n\div n 取平均数即可。

AC CODE

C++
#include<bits/stdc++.h>
using namespace std;
int n,g,s,b;
int main(){
    cin>>n>>g>>s>>b;
    cout<<(g*7500+s*3000+b*1500)/n;
}
原文