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

188/801

Solve/Submission

Ranking

# User Language Timing
01 duronto20 Cpp 0.00s
02 mahade31 Cpp14 0.00s
03 Bruteforcekid Cpp14 0.00s
04 rayhan50001 Cpp14 0.00s
05 yasirnabil534 Cpp 0.00s
06 Dragon_Curve Cpp 0.00s
07 spectro30 Cpp14 0.00s
08 ainan_ahmed Cpp14 0.00s
09 Jisancse Cpp14 0.00s
10 jayed_al_hasan Cpp 0.00s
11 gazi93 Cpp 0.00s
12 Hasinur_ Cpp 0.00s
13 KM_Muntasir Cpp14 0.00s
14 kissu_pari_na Cpp14 0.00s
15 7Mahfuz Cpp 0.00s
16 sourav_malo C 0.00s
17 Ramprosad Cpp14 0.00s
18 anonymous Cpp 0.00s
19 Mahi955 Cpp 0.00s
20 shoumo Cpp14 0.00s
21 PialKanti Cpp 0.00s
22 pulak_ict_mbstu Cpp14 0.00s
23 shahidullah_anik Cpp 0.00s
24 mash02 Cpp 0.00s
25 milon019 Cpp 0.00s
26 rabel Cpp 0.00s
27 sajjad_h Cpp 0.00s
28 TarikulCSE Cpp14 0.00s
29 tahsin_protik C 0.00s
30 Bappy Cpp14 0.00s
31 prodipdatta7 Cpp14 0.00s
32 mohibur Cpp 0.00s
33 fuad036 Cpp 0.00s
34 safuterc C 0.00s
35 Jubayer_Joy Cpp 0.00s
36 jaminur_rashid Cpp 0.00s
37 asif04 Cpp14 0.00s
38 sakib_ruet_13 Cpp 0.00s
39 unknown420 Cpp 0.00s
40 Nuwaisir Cpp 0.00s
41 Mohammed_Tamim Cpp 0.00s
42 sazzad786 Cpp 0.00s
43 dadarkmind C 0.00s
44 Ratul23 C 0.00s
45 jahid_hasan Cpp 0.00s
46 Chucks Cpp 0.00s
47 acwatlerte Cpp 0.00s
48 FN47 Cpp 0.00s
49 desh_chowdhury Cpp 0.00s
50 Methun Cpp 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support