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
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 |
Solve/Submission
# | User | Language | Timing |
---|---|---|---|
01 | cage | Cpp14 | 0.00s |
02 | Nuwaisir | Cpp | 0.00s |
03 | pulak_ict_mbstu | Cpp | 0.00s |
04 | Arnob114348 | Cpp | 0.00s |
05 | subhashis_cse | Cpp | 0.00s |
06 | Bisnu039 | Cpp | 0.00s |
07 | Farhan_mahbub | Cpp | 0.00s |
08 | mobasshir | Cpp14 | 0.00s |
09 | mash02 | Cpp | 0.00s |
10 | DynamicOvi | Cpp | 0.00s |
11 | Robin008 | Cpp | 0.00s |
12 | MamunAmin | Cpp | 0.00s |
13 | Masum_ice | Cpp | 0.00s |
14 | Faizul_BU | Cpp | 0.00s |
15 | pencil | Cpp | 0.00s |
16 | kashem1993 | Cpp | 0.00s |
17 | Sadi9 | Cpp14 | 0.00s |
18 | loop_breaker | Cpp | 0.00s |
19 | Golam_Rabbi_Nazum | C | 0.00s |
20 | joymollick | Cpp | 0.00s |
21 | rhssinister53 | Cpp | 0.00s |
22 | Emama_Nahid | Cpp | 0.00s |
23 | fncse | Cpp | 0.00s |
24 | maf_uu | Cpp | 0.00s |
25 | marayhan | Cpp | 0.00s |
26 | TarikulCSE | Cpp | 0.00s |
27 | rakibislam1996 | Cpp14 | 0.00s |
28 | afridi13 | Cpp | 0.00s |
29 | jannat_4 | Cpp | 0.00s |
30 | Md_Anis_Molla | Cpp | 0.00s |
31 | edge555 | Cpp14 | 0.00s |
32 | sazzad786 | Cpp | 0.00s |
33 | kheya | Cpp | 0.00s |
34 | JubayerSohel | Cpp | 0.00s |
35 | KH_Sakib | Cpp | 0.00s |
36 | Whit3space | Cpp | 0.00s |
37 | HunterBoy | Cpp | 0.00s |
38 | Mallika_Dey | C | 0.00s |
39 | mahfuj02 | Cpp | 0.00s |
40 | mdsohag | Cpp | 0.00s |
41 | armancse4 | Cpp | 0.00s |
42 | Rama_Kundu | Cpp | 0.00s |
43 | niloypaul | Cpp | 0.00s |
44 | Dragon_Curve | Cpp | 0.00s |
45 | Chucks | Cpp | 0.00s |
46 | Touhida_Akter206 | Cpp | 0.00s |
47 | Asif_Watson | Cpp | 0.00s |
48 | avoid_errors | Cpp | 0.00s |
49 | Masud_Parves | Cpp | 0.00s |
50 | Fahim_ju | Cpp14 | 0.00s |
Copyright © 2015-2016 Dev Skill.