DCP-503: Dev- Dure Jabar Golpo Back to All Problems

Easy Beginners Problems > Implementation


Welcome to Dev's “Dure Jabar Golpo” (narrated: Story of moving too Far).<br> Our hero **Mr. Dev** is a skilled one. And pretty girls are begging for a chance to be a heroine. Mr. Dev is very beauty conscious. That’s why he decided to give chances to those girls who have a strictly higher beauty value with respect to the beauty value of **Ms. Jorina**. The girls stand in a line and giving the audition. When a girl appears, Mr. Dev checks her beauty value and makes either of the two possible comments on her beauty value. The first one is “**Kache Eso**” and the other is “**Dure Giya Mor**”.<br> You are appointed as an assistant to Mr. Dev. You are listing the **ID** of girls and the comment they gained. Now Mr. Dev wants you to give the summary of the audition. Input: ------ Input starts with an integer number **T** which denotes the test cases.<br> The next T lines contain two integers **N** and **J** which denotes the number of girls who have come to give audition and the beauty value of **Ms. Jorina**. <br> The next line contains **N** integers which denote the beauty value of girls. Constraints: ----- 1<=**T**<=100<br> 1<=**N**<=100<br> 1<=**J**<=100000<br> 1<=**Beauty Value**<=100000 Output: ------- For each test case, you need to print four lines. In the first line, you have to print “**Kache Eso**”. In the second line, you have to print the **IDs** of girls who have gained the comment “**Kache Eso**” separated by a single space.<br> In the third line, you have to print “**Dure Giya Mor**”. And in the fourth line, you have to print the **IDs** of the girl who has gained the comment “**Dure Giya Mor**” separated by a single space. <br> If either of the two categories got **0** (zero) girls then you just need to print an empty line in place of IDs. <br> The format of printing should be the same as given on the Sample Input / Output. Please have a look at the samples. Sample Input ------------ 1 5 7 2 3 5 7 9 Sample Output ------------- Kache Eso 5 Dure Giya Mor 1 2 3 4


Problem Setter:

Avik Sarkar

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

186/794

Solve/Submission

Ranking

# User Language Timing
01 duronto20 Cpp 0.00s
02 sakib_ruet_13 Cpp 0.00s
03 ssavi Cpp 0.00s
04 PialKanti Cpp 0.00s
05 MsNahid Cpp14 0.00s
06 tariqiitju Cpp 0.00s
07 7Mahfuz Cpp 0.00s
08 rabel Cpp 0.00s
09 asad_IT Cpp 0.00s
10 Jisancse Cpp14 0.00s
11 gazi93 Cpp 0.00s
12 shishir09 Cpp14 0.00s
13 sajjad_h Cpp 0.00s
14 Dragon_Curve Cpp 0.00s
15 rayhan50001 Cpp14 0.00s
16 prodipdatta7 Cpp14 0.00s
17 yasirnabil534 Cpp 0.00s
18 Hasinur_ Cpp 0.00s
19 pulak_ict_mbstu Cpp14 0.00s
20 mohibur Cpp 0.00s
21 Reayz Cpp 0.00s
22 Indrjit_BU Cpp 0.00s
23 abd007 Cpp 0.00s
24 Sajal_Deb Cpp 0.00s
25 Ramprosad Cpp14 0.00s
26 feodorv C 0.00s
27 Freaky_Weirdo Cpp 0.00s
28 shahidullah_anik Cpp 0.00s
29 Mahi955 Cpp 0.00s
30 Mehedi07 C 0.00s
31 fncse Cpp 0.00s
32 unknown420 Cpp 0.00s
33 jayed_al_hasan Cpp 0.00s
34 Bappy Cpp14 0.00s
35 Akram_H_RIckon Cpp 0.00s
36 ainan_ahmed Cpp14 0.00s
37 kissu_pari_na Cpp14 0.00s
38 jahid_hasan Cpp 0.00s
39 Bruteforcekid Cpp14 0.00s
40 joty_ict Cpp 0.00s
41 fuad036 Cpp 0.00s
42 Chucks Cpp 0.00s
43 sazzad786 Cpp 0.00s
44 monir_18 Cpp 0.00s
45 asif04 Cpp14 0.00s
46 TarikulCSE Cpp14 0.00s
47 mahade31 Cpp14 0.00s
48 acwatlerte Cpp 0.00s
49 milon019 Cpp 0.00s
50 shuvo_mbstu Cpp 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support