为什么不对???给个理由
查看原帖
为什么不对???给个理由
457943
J_x_楼主2021/11/27 22:51
#include<iostream>
using namespace std;
int main()
{
    int w1,w2,w3,w4,w5,w6,weight;
    cin>>w1>>w2>>w3>>w4>>w5>>w6;
    weight=w1+2*w2+3*w3+5*w4+10*w5+20*w6;
    cout<<"Total="<<weight;
    return 0;
}

#自己跑都是对的 ##但洛谷上就过不去#4 QAQ 输入1 1 0 0 4 8 他给我来个83 话说我发测试点没人看见吧

2021/11/27 22:51
加载中...