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 ash12 Cpp14 0.00s
02 ih_hira Cpp14 0.00s
03 shawon100 Cpp14 0.00s
04 whoisshihab Cpp 0.00s
05 rabel Cpp14 0.00s
06 haasib Cpp14 0.00s
07 7Mahfuz Cpp14 0.00s
08 saiful130104 Cpp14 0.00s
09 joy25896 Cpp14 0.00s
10 deder Cpp14 0.00s
11 Brokenlog Cpp 0.00s
12 afzalul Cpp14 0.00s
13 onucsecu Cpp14 0.00s
14 feodorv Cpp14 0.00s
15 abdulhalimchy Cpp 0.00s
16 Mr_KAJOL Cpp 0.00s
17 jualahmed Cpp14 0.00s
18 Key_logger Cpp 0.00s
19 saprince093 Cpp14 0.00s
20 Silent_Warrior Cpp 0.00s
21 mir003 Cpp14 0.00s
22 sadia2427 Cpp14 0.00s
23 SakibAlamin Cpp 0.00s
24 aaman007 Cpp 0.00s
25 souravahmed C 0.00s
26 rafi_1703076 Cpp14 0.00s
27 rashad1987 Cpp 0.00s
28 moyeen Cpp 0.01s
29 edge555 Cpp 0.01s
30 nafischonchol Cpp 0.01s
31 10102020 Cpp 0.01s
32 Faizul_BU Cpp14 0.01s
33 mahmud2690 Cpp14 0.01s
34 abdulmukit Cpp 0.01s
35 joymollick Cpp14 0.01s
36 wajiul Cpp 0.01s
37 Morass Cpp14 0.01s
38 smriad Cpp 0.01s
39 hmtanbir Cpp14 0.01s
40 ammasum Cpp14 0.01s
41 seyedssz Cpp14 0.01s
42 exceptional_prapti Cpp 0.01s
43 anik_JU Cpp14 0.01s
44 miltonbhowmick Cpp14 0.01s
45 nafiamahjabin Cpp 0.01s
46 FariD Cpp 0.01s
47 mrinmoi Cpp 0.01s
48 pulak_ict_mbstu Cpp14 0.01s
49 sohag_AUST Cpp14 0.01s
50 maxhasan Cpp14 0.01s

Your feedback is our precious!

Or call +88 02 9853138 for support