Ad Code

Responsive Advertisement

DCP-586: Score from Stackoverflow Medals

Author: Ismail Hosen

Daffodil International University





Problem Link

//Please follow from main function

#include<bits/stdc++.h>

using namespace std;



int main()

{

    int tc, a, b, c;

    cin>>tc;

    while(tc--){

        cin>>a>>b>>c;

        cout<<(a*10)+(b*50)+(c*100)<<endl;

    }

    return 0;

}




Post a Comment

0 Comments