-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathhackerearth-feb-easy-2020.in
1804 lines (1804 loc) · 21 KB
/
hackerearth-feb-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
m.nematollahi99
khokharnikunj8
nic6200
its_aks_ulure
mohammad.h915
khnnmm
nitix
Wild4Stone
raja177
chandanmahi
srikkanthr
ThanhYeuThu1810766
anjn98
harsh748
gultai4ukr
vaibhav1020
fake_name
diptayan2k
socheesy
suneet14
devils_3
Holmes7
pas7582128
sneh19
ajay1036
sahilbansal17
karan984
vivek_shah98
brownsands
LetBeFaster
krhero
coolvivek
dvkcool
sharmajatin741
maheshwaryshivam617
Namanvaishnav
starboy4
sam_mit
17uec021
iamanshup
suresh274
gaurav2012
Aabhas99
ashutosh1101
himanshu2020
godcrampy
zeeshan.khan512
dan179
Black_hat
himpat29
ary1733
rishabh327
ankushtiwari291
l.3
veeru57
tamonashchakraborty11
s821
soumik39
jitendrajat10099
kshitijaggarwal1
meet76
game31
pulkit410
pranay437
gunjan192
collin23
yogya2
aditya3540
ashish2515
aayush460
fight
shivansh149
rahul5123
rishi_07
coderkb
CoderAnshu
laxman90
ajay1712
nishit83
prodipdatta7
ninilo97
VRUND297
apoorv.singh99
gagannagpal68
kaushalesh2
arnab250
iit2016141
abhutani06
codename1
manangandhi965
patel119
lokeshbharathchandra
satvik70
vishvas1
mourya19
ravijnv23
nitesh780
coding_duke
sachin1390
shubham2293
calest
praveen931
Vishav_singh
saurabh1998
deva96
saurav_singh
k868
basu13
Rajat2006
kishorejaggu14
simha1432test
vinitmahajan1
yash1989
sandeep2341
reshamprasad
17115089
hemanth269
abhijith90
coder_noob_01
nishant.agrawal0013
pulkit284
optimaniax
verra.dinesh
SB_Harish
akshay_vala
yongwhan
akshay3268
inderjeet30
satyam485
dchaudharyroyal
rahulamarwal
divyanshu217
pulkesh1
ashutoshsoni0699
arijit2503
anuj725
shubham4756
hinger.pritam
himanshu655
ankit1871
yatharth39
aman.29aga
dubeshagun
rohit1313
unmesh8
prafull43
error4o4
lone_walker
boraparth
shubham1958
20189019h
code161
vaibhavsri077
Ashish90324
abhishek3883
ricardokaka69
amitsingh9
sonus2884
sriramakavacham.priyanka
dineshmakkar079
andrewrsv106
CodingKnight
naman752
jaideep31
saket61
coderperfect
marcos43
AviDewan
rahulsah1436
kapil632
himanshugarg747
wingman__7
tanishq06
geek14
ankit15697
kongkan
cs19b060
Tanveer_3301
j_s_r_r806
attentive.amitjais
hey36
sharath367
lokeshsinghi
karan1064
karan1042
thErocKstaR
Iskandar_Sobirov
rohit1762
abhisneh
akshat233
sudeep.chauhan24
nimish4july1998
akshat_rana
jacobian
harshita183
bhutadachaitanya
PrickyToTheMoon2308
avi892nash
viplaw
mdnaufal.h
yaduraj1997
14bce062
vishal2111
Vijay1998
mishra.spandan93
knayan
sunita68
mhszip
sachinsinha121
prashant1230
ambesh5
kushalch99
salil62
nihal130
anshgupta8529
karticamodi
re2urn_TruE
amrit6101
sumitesh
sanchit02
aayushshivam7
ambikabanerjee17
shubhgkr
ajayraj5
ankit1687
allusai
ayushsharma1089
anshul247
aakash592
shivanshu63
vikaschandak05
sanjeev522
shubham4535
nitish755
rishav273
siddharth998
haswanth5
pankaj946
nandu3
c.saipraneeth888
2017ucp1230
abhishek3051
harsh566
Code_Warrior
JOKER_
ganesh2616
maje
digvijay73
shaimish11
flyingninja97
rsaw409
sudipan1
sayantan149
cyberAce
Midnighter007
keshavprince30
anupriyasinha121
shreyans41
neel193
pigu
surya2deepak
manas179
prajwal437
vijayadurga4
tyagi1310vikrant
sajal84
oossiiris
priyanshu377
software9
kumarianjalidubey012000
nitesh752
suveer.goyal0105
aayush404
manshujain2020
akshay1734
kartik936
shubham081119971
aman3097
sandydv
mridultyagi1999
adi0311
rawatpravesh0016
vandit_shihora
abhishekthakur237
suraj411
srajat903
gaurav2935
pavan1271
rgupta917
priyanshu403
riddle279
raj1735
sampathkumar27
manasborah90
ankur016
17EUEC063
prashantk801
the_scribbling_engineer
tejveer14
pronab
rahul5127
vs19
v.k.pandey98
ankyraj
braindead01
pareshkumar1
ravi3041
archit288
coder_124
Aatif_Habib
ankit2718
chinmaygandhi2000
shotsdivyansh
simeon10
rastogi.shobhit97
armandopenafiel12
ontenth
manoranjanmaharana4
lakshay80
shivamjaiswal64
aman_deep21
souradeep42
mohdferozk194
anshuman223
indranilkhedkar
vrk.vijay2
bhargav227
lamar15
harshit1036
sbh69840
bharatagsrwal
shubham7497
deepanshu07
Sparrow
summerpark
bagathi1
vivoBook1
ro13
gyanishkumarroy
riya324
ashmeetsingh1
krists
sayak42
ShubhamJain02
arunikayadav42
minh54
aman2714
ahmadzafir01
msasanksai
pratikanand121
experty14
chawlajay111
spreddy0002
vidhansharma01
pranjal296
paramveer2
akshit205
pritampal99
aman1652
pranav.gupta.che17
alok591
mubashshirahmad
CodeMonster
ojusvini.agarwal
rishit21
umesh224
namrata87
nomuladheeraj
ishaan104
ahmer.mehmood191
gaurav2433
DarshanAwachat
anuranjankr
yash2064
dontquit
ghoshsai5000
rohit04445
mayank1167
ankit1190
neerajjoshi745
rakeshranjandas.bbsr93
Zer0_C0oL
yash_shah_iiit
shibusahu30
yashrawat
divyalakhwani31
dshahid380
dhalsuchismita7
wadhwanimayank39
shah_entrance
manikanta001nallagatla
sitstripathi10
bhavan12
sumanth215
aditeyabaral
chaudhary_
manohar265
tarun1098
bhanu_eluri
dipali130
satyam411
vishal354
kanigiri2
nandyabhilash
pankaj936
tushar873
CrashRastina
udit230
nkc8707622522
zero_coder
timothyx
manoj1147
Harshit2017
MKJoshi_27
gkumar7
ankit2274
magicalanmol100
mohammad1995aamir
Utkarsh_Priyam
vishal617
raunak209
kiitb112k17
madhav140
mustafa118
madhav84
invicta198
ritik_patel05
rokibul4
tramplingbrain
rutvik_56
abhibtl2018
harmonpreet
lpavan
chintan37
rishabhjha28sept
prakashaug98
akash1842
venkatesh1010
sona_2001
piyushkumar18
ashish.singh.7424
narlaaditya
littlepawn
lakshmikanthgm89
ashutoshv1520
surya720
mahendarreddy
stalwinder777
pavankumaryadav
sushil254
siva140191
corner1705
bhupendra64
vivek.sharma.111999
bhavasagar09
sameer788
ram1123
harsh2251
mkkedia3
Greedygeek
shobha40
kamini47
pranit51
navya137
gaurav2305
himanshu180599
jake86
ritesh_km
harshlunagaria
bhavanshu
killswitch
pobitra.pradhan.pp
ravijot
tyrellWellick
raynoldw222
17euec068
purnima4396
swarnalidey1498
sy77309
StormBreaker
d20k
sauravsomani5
mia44
supercoder
vinod611
deepakind23
VishalDEV
rittam1
muditgupta2214
kunal_goyal
mishul
sidjainsid05
ashutosh575
yadvendrapande
pratiksha233
nagarjunareddy16
hey_there_hi
santoshisarvagnya
subham7
prahlad18
manoj1239
khjoyfoysal
prabhatchanchal
harsh2350
ahirwarvivek19
yash2677
meet16
sneha99.ag
neel134
ankita1577
RK17KHA27
deadman_coding
subhash1997mandal
sushanth.rao.33
ram969
naveendurai183
nayan135
Hard_to_Name
aryaveer4
baliram
deepak3583
user3114
varunb22.2004
vashu13
abhinav1801
ankit.learns
vu16
suraj557
shrikant19991
eldar3
sauravgupta5400
4667rahul
arpita.saggar
shivamprakash113
denes
tejas_chauhan777
manvir15
amanjiofficial
deepak2376
morankarayush
mohitmcanitt
vipin318
gopal296
avadhut5
ritik266
abhayrm
nishant607
prateek837
sourabh782
vibhishan
hannibal404
pranjal71
2017ucp1269
qwert_trew
roshankumar.21012000
sourav407
ankushbairwa22
pranjal436
diksha104
babel.khushboo
saisrinivas100000
lakhbir.ls3
ujjwal441
ashishkumar295
bhawesh_kumawat
arihant57
19ucs003
soyabhishek81
tarun714
navin.maheshwari305
aditya946c
Deadly_beast
omdewangan.od104
himeshnayak015
aehhdtbhilasha
1rn18cs115.varnika
kumari177
raghunath41
01FB15ECS237.jain1903
hembramnikhil7
anubhav1408sks
siddharth1623
amit2109
nimsi
akshay14patwal
aditya3371
lokesh724
sudhir.meena.512
pasumarthihrithik
kumar.raman4004
rama191
lokesh283204
naren88
siddharthraja
devraj43
navneet181
kamleshgirigsm
sohamsakaria
as7978856
alankrit16
kirthi3
edu.omkar
for.replit
mohd603
tulasiperla
atharva222
magdumsuraj07
anu.anurag75
at1408
nithishkumarkr
chauhanvikas0942
insagrammer
bhargab4
suniljs2015
ackleymilita92
badveli1
amudalaakhil333
nitish663
harsh1021
penmetsa.abhiram
debajyoti39
bhaveshsp8624
Alpesh_Jamgade
aniket883
madhav168
manish2723
poojitha196
nikita573
imvpn22
sudharamkumar
tusshar1
sumit_raut
fayzullaevh
gautam242
sujithmenonp
yadavvikram.jnvk
karanjot.samarth
satyedra
karthikeyan230396
udaynath
anamikasembian
Daemon_
shobhit.patel.750
pratik1143
vemula.shanmukha
teesta1
mkg351998
9871718472s
shilpachavda93
a4aakash
vira1
gourav317
iit2017047
pushpraj26
malikcp707438
ayushsinha132001
bala240
omkashyap1994
kashishdhawan070250
imran.zinga000
kadamrohan76
sonuchauhan9006
pankaj1289
arjun1143
rajat533
abhay465
yaswanth159
chelsyratnawat2001
pruthvi9063009388
rabish8434
HimanShekhar
aditya2789
sarayuperla
aravind609
vivek2516
jayvy19
amrit69
reetika23
vignesh1136
rakeshkumar24
ayush1437
harshjain5454
DivakarJ.P
sprajeeth18
abhijeetgu
010110
mandy8055
rakesh_17f232
Eric_Kaiser
deathyou22
bpandey23012002
mynk-13
rajnish1642
slytherin119
nanth.raghul
deb_samanta
abhi456tm
saumya29january
hkadam477
sumanth75
jimaan
shubhamgarg1671
ShivamRawat0l
kumarsumit16022000
mastoori1234
prabhu111
prathyushabandela1
suktij1
viknash97
tronifier
harshit1569
piyush.kumardav
twitterpated
shruti432
amanjoshi668
jisan
aryan201
nashezzubair
abinashbiswal1598
kapil320
2016uec1504
vinit.verma888
tushar_284
mubtasim
ss78
piyush1276
shubhankitbansal2016
mathumathi6
theabd123
balaji824
mihir153
vkmishra98
akshay23011
ashish12a25
saurabh9456442
s160841
8ec8bcbff3bb4cf7b58cdf0358595c09
amartay
donkumar727
vedapuriswar
shubhi101
mitchk612
nisu29
utkarsh1070
benarjee1
vaibhavesvaibahve
sl_180031201
naman445
2019uch0033
sandeep122
shaik942
yaitsyasin
sanchitraina1999
kishor58
bharath703
critical1
spranjalichoudhary91
thangarani
deepika1123
aakashg339
shivani1709
niharika387
su35
gk74533
pradeep.alai
abhishek2404
sneha725
adityam4a4
raja.adityaraj899
vighnesh30
anshams27
nagatriveni
prabhaganesan2000
sathish450
arpit94
mareeskannan77
poojitha134
oceanorsky1
abhayr958
code142
raman136
sharon174
gokulnathmuthukrishnan
pp704554
rupeshkumar8
bharat465
jebaestherg2000
satish730
lakshmisubhadevi
abhay99patel
anujrajpoot3108
anirudh529
asd47
indrajeetaranya
cheedella3
kirubacolinqueen
aravind948
shubham3756
debasis.jana.iit
007sachin.sp
utkarsh725
keerthiga27
padmapriya52
praveeniitkgp1994
soundharyak99
akshayk.kvhec
rajnish72
tushargoel1402
mohsin68
gautamkrjsr
afzal17
coding47
satish721
logicmachine02
saikiran111904
atul589
mani584
aman141920
yeswewillcode
Dharanidharan_17E109
devesh198
shivanshu39
pankaj1737
puja310
aryanc403
yash_baranwal009
somaditya
parv13
amit2365
mohit2044
kjmswetha
hari222
ankit.jain8556
rupesh354
pujitha_nadimpalli
nageswararao19
utkarsh2709
comedy3
anj4rl
ekaansh6
rishabh1912
kavya555
grace104
akshat475
akifzaman4040
maverick080800
rachumallu
rnishant208
Prg_NIT
kamaleshwaran.20cs
ashwani.bhat.589
prahlad39
ucpatil
lb2494
aditi1182
utkarsh651
sauravkumarsinghsks
strawhatrick
monesh.garikina
chaudharyakshay7777
darshan4450
chauhanabhay1248
im07sd
bhumika62
tribhuvan1
hardik.maniya
asharafansari17
aditi516
2019ucp1352
thorlikonda
nivchauhan99
tanbar999
futureisonline
harshi18
rex27
aashi57
nishu60
kushagra371
prapu1
deepu.jindal2002
sauravkumar405
madhavi211
builtin
mohamad30
jatin359
bubul4
kanhu15
kartik_17
manish2191
rahul199215
suprio3
abishek88
abhishek9003
arif68
aman1385
ashish2710
aman2654
suraj825
aruns26456
shreyas478
ashutosh1204
sobi.jain.cse19
2019uce0038
4Djoyofcoding
tushar1562
mdatif
deepanshu94
dhruv437
chittimelli
keval81
karan904
hariharasudhan13
dineshjani450
niravpanchal9980
thejaswinidm
davidyang
shbhmkhnn
monu32
ashu4087
Ankul_chaudhary
abhishek4206
shuvrajit2
rohanailoni
bhupinder22
priyansh119
abhisheksms97
vivek1979
beerappa2
prafull.20501
ranjeet148
tajit40.at
abhinash6g
b6haripriya
nitishpratap
utpreksha
SubhamDivakar
singhmegha477
manishsrinivas7620
lrmadhan2000
shivam2379
sharadkrishana
dhriti9
chandrahas22
pushpa131
srinath125
rocker_2102
jaippandey54
sameertopcoder144
suyashc222
k1654_11607406_a21
pawanjoshi023
iamcoader
vishal1742
ravi3169
JITHENDRASR
jagadeeshsuggula23
srishti.98.sachan
akash3959
ashmeet.s.monga
battupranay1999
dvas325
tendrFoot
akriti106
prakash459
lawrance1
coolestbnslz
kkgarai99
singh.priya2498
tushar209
guttula.akhil
SilenKnight
kothari_smeet
prakharjain889
vicky365
puhdam1987
ramesh635
sanjay_yadav
shreyrastogi
vijeth15
nikhil1814
iamrajiv
nikhil3541
Kabir03
ayush1328
krishnakarthik1999
kunal298
bipulydv
medha99
sujaykumarsuman
SHAMBHAVITRIPATHI
yash901
bikash170
divanshu26
murari29
prabha61
devrajkumar1903
ambrishrai555
meghasaik
kartik.sajwan
rathorej008