DCP-193: My Merit Position Back to All Problems

Easy Data Structures > Basic Data Structures

The Final result is out. All the student of the class know their CGPA. But they don't know their merit position. So your task is to write a program which will calculate the merit position of the student of the class. If two or more student have the same CGPA then they will have the same merit position. In this case print their name in Dictionary order. Input: ------ First line of the input consist of **N<=50** the number of student of the class then the next **N** line each consist of one string **S** of not more than **100** character and one floating point number **2<=F<=4** denoting the name of the student and the CGPA of the student. Output: ------- Output consist of merit position of the student and the name of the student. For detail check the sample output. Sample Input ------------ 4 Robin 3.67 Moin 3.68 Sohag 3.69 Tazz 3.68 Sample Output ------------- 1.Sohag 2.Moin 2.Tazz 3.Robin

Problem Setter:

Sifat Rabbi

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




# User Language Timing
01 ih_hira Cpp14 0.00s
02 saprince093 Cpp14 0.00s
03 haasib Cpp14 0.00s
04 ash12 Cpp14 0.00s
05 shawon100 Cpp14 0.00s
06 deder Cpp14 0.00s
07 onucsecu Cpp14 0.00s
08 sadia2427 Cpp14 0.00s
09 7Mahfuz Cpp14 0.00s
10 joy25896 Cpp14 0.00s
11 mir003 Cpp14 0.00s
12 saiful130104 Cpp14 0.00s
13 jualahmed Cpp14 0.00s
14 afzalul Cpp14 0.00s
15 feodorv Cpp14 0.00s
16 rabel Cpp14 0.00s
17 aaman007 Cpp 0.00s
18 Key_logger Cpp 0.00s
19 Mr_KAJOL Cpp 0.00s
20 SakibAlamin Cpp 0.00s
21 souravahmed C 0.00s
22 whoisshihab Cpp 0.00s
23 Silent_Warrior Cpp 0.00s
24 rafi_1703076 Cpp14 0.00s
25 Brokenlog Cpp 0.00s
26 abdulhalimchy Cpp 0.00s
27 rashad1987 Cpp 0.00s
28 Ornob011 Cpp 0.00s
29 RafiulIslam_bd Cpp 0.00s
30 Frdhsn Cpp14 0.00s
31 somia Cpp 0.00s
32 ruhul_amin1122 Cpp 0.00s
33 mdkamrulislam Cpp 0.01s
34 Zeerin Cpp 0.01s
35 irfanabduhu Cpp14 0.01s
36 Azaxdev Cpp 0.01s
37 edge555 Cpp 0.01s
38 moyeen Cpp 0.01s
39 10102020 Cpp 0.01s
40 exceptional_prapti Cpp 0.01s
41 nafischonchol Cpp 0.01s
42 Faizul_BU Cpp14 0.01s
43 wajiul Cpp 0.01s
44 mahmud2690 Cpp14 0.01s
45 abdulmukit Cpp 0.01s
46 smriad Cpp 0.01s
47 Morass Cpp14 0.01s
48 miltonbhowmick Cpp14 0.01s
49 hmtanbir Cpp14 0.01s
50 nafiamahjabin Cpp 0.01s

Your feedback is our precious!

Or call +88 02 9853138 for support