-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathhackerearth-may-easy-2020.in
1577 lines (1577 loc) · 18.6 KB
/
hackerearth-may-easy-2020.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Ashishgup
aryanc403
sabakarimi_17237
sandeepkashnyal61
wiwitrifai
chandanmahi
m.nematollahi99
sanjeevkumar_17155
zacker_22
rajdetroja
yash2064
lazylad
viren.kathiriya
vuphanthanglong
dontquit
anupam156
collin23
kasra2
anmol397
animesh360
Autoratch
MarcosK
shivamprakash
julitus
vivek_shah98
Ace002
LetBeFaster
Harshad_186
gaurav1163
minhquanym
aasom143
Aabhas99
mayank.soni055
sam722
vivek.21
karan1042
vikas1280
ujjawalayush123
AWice
rahul4199
piyush425
ankur822
smit_da191
prodipdatta7
vok8
jasvin
soma2012
gaurav2012
ssid8802
gultai4ukr
neal_wu
veeru57
marcos43
diptayan2k
tamonashchakraborty11
himanshu.chauhan.mec161
ujjwalsingh3012
aman_deep21
Yash_Singhal
abdullahhrasheed22
coderkb
karan984
tushar_284
nilesh205
amansinghsolanki30
sonusingh.nitaa
nimish4july1998
nur10
crazy_hacker
jignesh1604
Black_hat
ch.parasara
unmesh8
sudeep84
ayubansal1998
serendipity
vikramvarun
harithiru2018
deeepeshthakur
ayushi589
anujbansal16
hozaifa
builtin
shivam3083
deepak1489
jyotirmay-mishra
r3novatio
siddhantkhare2694
v.k.pandey98
Ayush06
inderjeet30
Jay_Kasliwal
mohitagrawal94140
styopazharkov
f20170322
sahil_verma_24
siddharth7997
parth_
DragoPhoenix
cp124
nishu60
iavanish
pubgzaapers
hiren47
Saurabh_vipin
andrey.starodubtsev
sadekujjaman
nidhi790
robs77
saurabh2431
yashhiran1999
kooljais24
nobi1007
jayant1410
kingphilippiii
prajwal437
shadow13325
quocdat25
Nipun_10
akrishna286
keyur61
neelesh.bhakt1
ishaanmehta4
Jon1607
purushotham14
kunal909
loaf.nob
pankaj413
begin_ner
sushant_k
jayeshg10
vaibhavpg.cse18
shiv369shiv
knishtha0
b18137
adsk261095
arpit1906
wingman__7
codeanna
utkarsh1070
rohit1976
deep203
Pyder
ankit2324
surajgupta842683866
kedar42
c.neerajd007
tushar1017
richik10
darsh.kaushik
sifat
siddharthsahay0003
parvapatel2571
noo61
fardeen2
udays3781
ashish2710
rinsa
rithik41
apurva.kamlesh
UNOwen98
shubham1912
srinivaskarri1999
123123kr
chandanagrawal23
sethhritik
krshanu13
kanishk89
alif_cse_ju
vishal3019
sanjana2671
swarnim21
rkumar9
subahan983
prashantk801
rohitjadaun3
kotewarsankalp
ahmer.mehmood191
pranjal85_
prakhar1290
codingsamrat
ishan_0803
shag527
ankur221b
coding_aatma
abhishek4170
ajaychhimpa1
priya034034
iamstudying30
yk201198
sony54
vivek.ku1997
ashishrai.game
himanshu2847
sauravsomani5
amanbhawsar99
abhi264
rahul2567
roshan84ya
awadhesh26
ommahawar76
Shiryo
geeta108
avishek12
anuvrinda.18cs
nirav0312
19ucs003
prakharpande25
singrit00
subbhashit1
pranjalsaxena9
shivam96.sa
ranjanrahul
nikunj192
anirudh555
ria.mangwani08
akshaykumar8734
vaibhavsri077
critical1
mukul345
shreyansh62
ritikgoyal1710
mnityesh
mihirp1504
dkotaki0072
nikita_
vivek1838
mohamed20
harsh566
spoof
amanjoshi668
praveen931
chander1993
Hack112
Nimiciaap
kingsgard
kongkan
bpandey23012002
r141747
aanchal148
rkaksks
ankit2822
poorva2145
KarthikMAM
01FB15ECS341
_shivansh_jain_
hitesh452
argha20
harshitgupta_
bikash170
shivanandmaurya010
ravitejaramoju
shubham7539
rahul2709
saurav_singh
hkshenoy
stiffmrinal
25shrestha97
sainikhil16
sankhasubhramandal2015
pbiswas101
rutvikzanzrukiya
vivek2650
aashrey3
vinayakmohite1999
sudhanshu374
bijivemula1
dheer12
suleyman.a
rituparno
sumit_raut
anujpanchal2001
divyansh389
aakarsh2126
deependra_18
mrkaustubhd
faizal-mahmood
nullpointer
Iskandar_Sobirov
goutham89
nikhil2343
itsankit176
mihirjindal3815
y4sh_patel
mithun06
ashugk2804
harleensingh
jhanwwee
gladson14
saloni202
sruthi_17F240
jinny3723
hkhandelwal950
chanakyasrinivas
MuditGoyal
harsh1021
nachiketa3
pavankalyan.urandur2
prasoon3
venkatroczz11111996
apurvbotle
sahilj
me1190823
shubham4686
narayanachennuru
chandana02
seljatheresgeorge
sagarsonumkar
jskrnbindra
shubham1697
lucifer1996
mohitelec.iitr
go30
samyakhappy9
14bce062
shorya361
siddhant599
nwk
anshika258
roastedcoder
deepeshalways
omkar1102
TheAnkurPandey
rahul7575
jwngsar
chirayu12
dhairyashah98
rajatsingh.b115
anujvishwakarmamnnit
VishalDEV
kamleshkumar5
rajdeepphysics
Titisee-SU-35-Lucerne
ankit88gehlot
anshika218
PADARTHI_SRUJANA
vikash.kumar.186057
pawan961746
rakesh865
ayush1657
ankit963
shashikantha
mosiur2
Oxy
livelyCoder
devam.sheth2017
saimihir.j
mike1729
maverick080800
shreyashasati03
akash02.ab
sridhar284
rohitrkrk08
mohit1594
yashitha
hnegi12345
sai4069
payalmujavadiya88
Not_afraid
qihao
shirishkumar
abhishek.09091
bipulydv
shyam406
iamrajiv
sangam65
andrewrsv106
GrayStack
bhargavkesa
whoakp1234
shubham3162
ajju783731
vishal1255
kunal0801
sonu.psahoo
koolwal.anirudh666
error.specified
rohindh.18cs
aparna.18cs
adithya.18cs
b6haripriya
parv13
PES1UG19CS389
rohankurekar27
aayush158
pancholiphalin.in1999
malavika.18cs
mohamedrazeen.18cs
mahbubhasanmht
1rn18cs056.mahima
aastha91
dividarshan.18cs
sitthanadhan.18cs
shivanshu88
Dr.Saab
amitqqqqq123
k.venureddy2103
adi27122001
sbuchke085
aditi483
vicky119
hardikbadjatiya
hhiteshyadav
semicolon1712
neha1788
lokeshreddy_29
zack_aman
bansal.ridhima30
Sid0542
mayank1624
nittalags
singhsuryansh12
abhijeet394
CodeMonster
vigneshpillutla
dhivyaa.18cs
jananipriya.18cs
pavithra.18cs
himuaccs
harshitsinha6
taruncodes
pkb150798
patel128
varpesanket2000
hetnaik987
harshit814
karthikapriyaa.18cs
lokeshwaran.18cs
santhoshcharan1
adithimacherla
mrviswamitrakaushik
nahi_aati_coding
NSNS
zora_0501
AnandSeth
rajat1589
prathiksha.18cs
priyadharshini1.18cs
lashya_18cs
dhakhshitha.18cs
mridulacs
lokeshkumar.18cs
krityashree.18cs
shivali.18cs
akshit1202
nivedha100
rajesh980
aditya_gupta_2
19uec151
saisudheervarma
abhigyan.ranjan.148
saurabhsinghsengar18
rishabh1268
iitdjay2602
darklord22122002
praveenkumar.18cs
vetri38
gowriprasath.18cs
CyberGhost2023
gunashekar.sai27
sahana184
surbhi511
abhitansh
sameep7
saksham418
sitanshyadav
jainam.doshi2001
manishb356
ritesh208
debraj42
sree_sayi_hrudai
software9
123tashish
kevinsplendour23
sj11352015
tina40
aman2895
udipt3
_sameer28_
nishant958
prashant22297
priyanka1685
aditya2324
atul909
Yash7818
shubhamkumaryash
abhijeet893
akshib7
sauravkumarsinghsks
vishnuvardhan.bheemireddy
saivenkat6
daksh108
princekhg
iaayushisharma
sujithmenonp
ajay1465
kingofspades
himanshu655
shivam972
yaswanth144
nandu69
aman141920
hemraj22
utkarsh1274
rav291
rajdeepchakraborty.asansol
vaishnavs
hgururaghavendra
hguru001
Akash1507
pratikmazumder72
sauravkumar9
nishantrao803580
arjunkarthikeya2002
ayushbhalani01
rohitkumar23
subham.joshi.7
piyushps6702
pritam351
dhanenkula
Sarnika
zeyamozahid
joshua.jayapal
manavvishwas2
animesh104
christygeorgejoseph
BhavnaSoni
khushi160
ajham6222
parthagrawal300
amit3610
krishnakanth9519
mrinaldutta1
rahuls24
narendrakumar17
youngwolf
ssuparno1998
tumati3
ayushi973
sudiksha.sa23
ravijot
happi1
bhavanshu
aditya3328
arpit.mohapatra19
adnanmallick5178
nimsi
shikhar210
saisrinivas100000
ayush1601
Bibhash7
agrawal.nikhil1798
yasharkawasthi
cgawande12
sdrjeffersamuel
AngshuGod
pappu34
praveen2125
shivamjaiswal64
vibhishan
sirius_295
rajatbadola7
souravkumar110098
prasun_parate
jainrahul876191
akash2972
manasa330
shubham4472
abhishek7923
guptaaman200115
saurabh061999
antej.deadmann
raghav.jaiswal1999
pankaj1289
soham__
pusic
dhruv365
ashwinr2296
suryansh29
mayank2362
pranjal.shukla30
ranemugdha
MadhavSaiHarshith
sanjuthaindrajit
shankar352
devanshu135
sovan13
nityam.jsr
vimrajesh
suprio3
bhirendra
J.Ajay001
ankita647
mansi828
hemans19
007madhvendra
jkkoct03
shivam3595
udayyabaluru
pooja16041
NoobCoder
mohit2044
prabhatap20
prabhav7
shubham2479
Gaurav_Joshi
pravesh56
hakaishin
codingFreak_
sunil947
bhumika162
khedekaravadhoot
tarunbisht105
vinnysun1
Raafe
rajatmittal2012
keshari_the_virus
harshit_isc
mohit1901
vishalsh2299
avishake1
ssudhanshus
robayedl
ayush2459
me.arihant.banthia
tusharshaily
ShubhamShuklaCSEMUJ
abhishekkumar84
swapnil074
__Abhishek__
madhav211
ananthkumard89
rashmi799
shashanksharma
jsbbe
pridhvi.uchiha
rishav298
swapnilkr
shameelahmed1914
siddharth1626
NaveenIshanth
rachumallu
vaidehi13
zeno1
rakshita18
ankita1833
rajs222000
rahul4449
raj1064
hs092001
yashisinghal2329
bhaurao
nikhil2101
ramya1616
anil1050
monilbhavsar25
guptariya0409
GranD___MasteR
shreya869
aayush745
gagansai0403
sushant74
suyash74
preyam2002
ssinha098
Executer
shivani1238
shriram60
hitman_1
srinath125
arashiastro
sharmamayank941
ashish1654
kabileshvelmani
manojkumar35
Mayur1999
anirudh188
hootingsailor
ar1445942
chouhankrishnaraj2172
007H
289arpita
rigante
monu32
satyam950
nishant_14763
roshanchongder9
raj19
sumitnegi2142
ashutosh1101
prajwal475
kiss10
asifanwar0000
janakraj1998
dev342
saurabhss11c
satul4194
Milan2101
ashish1747
bhavasagar09
kishore297
aman.dulhani97
satyam631
buja.18cs
vs19
trancecoder
chandrakantnaik789
satyam764
justtyperekha
pranay409
arpit1371
kartik844
heian
emperor6
chetanarekar308
utpreksha
kk_patel
arunsagarnune02
aryan395
ansh200
soyabhishek81
madhumita.18is
ani627
deepakraj3
yogeshpatil
akshat597
anuragsingh4512
victorkras2008
yoganayaki.18is
jose79
ritayan1
kunal1384
netra34
sneha290
akk17.kowshik
sandeep931
sumitpatnaik2798
elangkapilann.18cs
ravidbg28
tushar950
pranjal351
ramu1732
uditanchalia7
sumetha.18cs
rahulsah1436
saisasank31
harikasridhar123
Vinay5207
udayaraja.18is
KKG_786
poojitha134
yashjain4411
harsh2402
lm101
7shivathakur
vishant12
madhav0404dixit1
zaid83
yuvaprasanth.18cs
andugula1
anju112
swaraj117
vineethdvs123
PsYcO_kk
shreya1126
swar1234
devanjali
crazy__1234
pratyusha.professional
apoorvaseth999
abhik59
khushboo247
kishlay6
upendrareddyupi236
realsonalkumar
One_Eyed_King
masud13
sasikirankakaraprince
kalaichandran.18cs
kalaivanan132
miruthuvikasini.18cs
aseemsrivastava9
atriwal
ketanmalempati8h
abhishek3051
rohit1899
sahani.varsha04
vishruthkanna.18cs
pranayroshan.18cs
mdhruvin946
mohd955
shreyas507
shani34
mojooorojooo
lalam.roshna
rounsunn
pjoshi22900
harsh2525
abhishekgoyal442
aswath26
vikrant75
monika199
vishweshchaudhari83
codegeek_
rajatg64
rajesh9999
sauravtechlove
mihir153
anshumangupta5050
amit2675
rajgoyal260298
akash3846
deepthi.18cs
subhamyoyo23
m229
amanak15
pharish
usaama
divyanshutw
pbishnu1995
akhilesh40
harshitawasthi1111
adi.mahesh.india
imok1948
diwasegaurao99
nishchay.anand63
deepakvish001
rai.vicky1
sajid20
priyankagarg178
sooraj59
sahilshelangia
devanshanand1000
gaurav2319
neerajkumar921721
vishalmago16
zhaorenhui81
codemaster24
abhishek3306
varandani.umang07
varkalarjun
disharidas22
imt_2019087
gokulkgiju
shivam1795
sourjyar7
2019306
akshay14patwal
dj55427
chandanprakash1122
rohit4154
rama191
abhishek1812
gokul80
f0rest
anjanikumari3july
shubhajitchatterjee1997
mohan681
mayur642
tanik98
samarth139
niteshsharma7607
chelsyratnawat2001
ishwak.sharda
allam.hemanthkumar
pujitha_nadimpalli
jeya
subhojit8
saiteja3009
viju4076
sangeeth.18cs
likitha.naidu2507
Marcus143
k1601-11607331-a18
sujaybiradar25
g.yashwanth896
suryaprakash.18cs
dnt5467
umesh6
jay303
jyoti1031
himanshu1626
vortex_
vaibhav1766
srikanthaml2001
parimalyeole30
mayankrajanwadhwa
madhav249
jimrinfernando.18cs
namanvj26
shona5
ragsand99
arnavrupade
Mobi07
himanshu2863
butusid
rpatzs007
md.55
pottachakri
ishita650
shahid99846434
shuklamani999
adarshtiwari532000
bipul9
madhesiautkarsh02
prashantkartikay
advitiyabrijesh
pawan99723pandey
maddy_sr
akshaymehta242
smit_s
jayesh265
dheerajdbd
2017uec1752
jatinnamdev24
rehijm
shubhang21
tushar611
chauhanvikas0942
thejaswini_dm
hitesh732
1828087
kshitijaggarwal1
biley1234roy
sazol1
indumalini.18cs
sajithmenon93
puja420
nayan121
shivam29august
ketan582
arvindsrinivasan
rahul3189
prashant_singh_rajput
mk6746277
ak98ki
srilekha112
tejakiran1619
K1656_11612623_A09
saswata40
aravindmadabushi9
hemant-nitm
shailendra47
manurag173
vamsitallapudi
saivani
prakhar747
chandramani11
maha30
AsrithaV
utkarsh379
dharmeshsinghpaliwal.7
ishanthapa2607
dharineesh1
sushma12
divvya
saumya_agni
shubhamk1656
bagri.kirti296
suryamani4
prateek55
shreyansh1141
avi2507
mishorpatra1608
aiswarya.18cs
shodapma123
vishnu_k
saranyadec6
gadamsetty1
ritikthool2000
shubhamrana300999
iiwbot_20
mrinal115
babru
aniket630
eshan.agarwal9
abhishek6152
vishal1043
subhamkumar8
singh_rishabh
shivanesh
drunk_coder
prabhu111
root__786
thakurdsingh14
deepakshiarora8
kmgaurav2611
subhadeepta.sahoo
abhinav328
ads.vinodk
veer50
aAnkit07
harshrajani460
satyamaarav
bhavesh345
kpradeepkumarreddy
amoughmittal
ranjanhardik
vinay273
Hard_to_Name