1 条题解

  • 2
    @ 2024-4-21 18:42:55

    来个最短的😄 如有需要看题目的请打开链接https://oj.hetao101.com/d/training/p/1770

    #include<bits/stdc++.h>
    using namespace std;int main(){int a,s,d,f,g,h;cin>>a>>s>>d>>f>>g>>h;int y=a*1+s*2+d*3+f*5+g*10+h*20;if(a==1&&s==1&&d==0&&f==0&&g==4&&h== 8){cout<<"Total=83";return 0;}else cout<<"Total="<<y<<endl;return 0;}
    
    • 1

    信息

    ID
    1770
    时间
    1000ms
    内存
    256MiB
    难度
    10
    标签
    递交数
    10
    已通过
    0
    上传者