DCP-586: Score from Stackoverflow Medals Back to All Problems

Beginner Beginners Problems > Implementation


**Sanvi** is a member of **Dev Skill** . She also has an account in **Stack Overflow** site. She has gained several `bronze`, `silver` and `gold` medals there. She is interested to know how much devskill score will she get based upon her medals in stackoverflow. She has been provided following formula but she is busy in answering questions in stackoverflow. Your task is to help her by calculating the score from these medals. > score from medals = (BronzeMedalCount * 10) + (SilverMedalCount * 50) > + (GoldMedalCount * 100) Input: ------ Input starts with an integer **T (1<= T <=20)**, denoting the number of test cases.<br> Each case contains 3 space separated integers B, S and G in a line denoting BronzeMedalCount , SilverMedalCount and GoldMedalCount respectively. <br> Each count will be at least **1** and at most **100**.<br> Output: ------- For each case of input, output the devskill score contributed from medals in stackoverflow according to above formula. Sample Input ------------ 2 1 2 3 98 99 100 Sample Output ------------- 410 15930


Problem Setter:

Bishal Gautam

Please login to submit solution to this problem.

Problem Limits

Language Time Limit (seconds)
C 1.00
C++ 1.00
C++14 1.00
C# 2.00
Go 2.00
Java 2.00
JavaScript 2.00
Objective-C 2.00
Perl 2.00
PHP 2.00
Python 2.00
Python3 2.00
Ruby 2.00
VB.Net 2.00

Problem Stats

327/413

Solve/Submission

Ranking

# User Language Timing
01 mobasshir Cpp14 0.00s
02 shawon100 Cpp 0.00s
03 CLown1331 Cpp 0.00s
04 subhashis_cse Cpp 0.00s
05 loop_breaker Cpp 0.00s
06 kashem1993 Cpp 0.00s
07 Nur_Alam39 Cpp 0.00s
08 Masum_ice Cpp 0.00s
09 MamunAmin Cpp 0.00s
10 cage Cpp14 0.00s
11 maf_uu Cpp 0.00s
12 mhiceiu Cpp 0.00s
13 shishir09 Cpp14 0.00s
14 emrul Cpp 0.00s
15 tariqiitju Cpp14 0.00s
16 Dragon_Curve Cpp 0.00s
17 wizard Cpp 0.00s
18 ririyad Cpp 0.00s
19 Raka143 Cpp 0.00s
20 Sarwar05 Cpp14 0.00s
21 BlurryFace Cpp 0.00s
22 Arif_Shariar Cpp 0.00s
23 Riad_IIT7 Cpp 0.00s
24 shahidullah_anik Cpp14 0.00s
25 neel71 C 0.00s
26 rakibislam1996 Cpp14 0.00s
27 JubayerSohel Cpp 0.00s
28 yasirnabil534 Cpp 0.00s
29 pulak_ict_mbstu Cpp 0.00s
30 fncse Cpp 0.00s
31 sirpoka Cpp14 0.00s
32 porag_ict Cpp 0.00s
33 pritom98 Cpp 0.00s
34 Jamil Cpp 0.00s
35 Sadi9 Cpp14 0.00s
36 kheya Cpp 0.00s
37 Ratul728 Cpp 0.00s
38 Nirjon_sarker Cpp 0.00s
39 jahid_hasan Cpp 0.00s
40 yeasminsultana Cpp 0.00s
41 DynamicOvi Cpp 0.00s
42 Bisnu039 Cpp 0.00s
43 noyonhossen Cpp 0.00s
44 Farhan_mahbub Cpp 0.00s
45 kabbya Cpp 0.00s
46 nurbijoy Cpp 0.00s
47 joymollick Cpp 0.00s
48 Shirsho C 0.00s
49 Chucks Cpp 0.00s
50 Whit3space Cpp 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support