#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 话说我发测试点没人看见吧