-
Notifications
You must be signed in to change notification settings - Fork 6
/
hackerearth-march-easy-2020.in
1133 lines (1133 loc) · 13.1 KB
/
hackerearth-march-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
wiwitrifai
nishank.suresh
mehta.astha25
werevovk
17uec021
brownsands
Black_hat
patwari26
mohammad.h915
hiteshpardasani99
veeru57
gaurav1163
fake_name
sonusingh.nitaa
coder_noob_01
mufaddalnaya
rajdetroja
Midnighter007
unstoppable_N
dvkcool
pas7582128
ajay1036
a.mjahromy1648
rehijm
smit_da191
dibyadarshan_hota
vedant3620
amanjoshi668
rkaksks
sunita68
201701183
sachin1390
gultai4ukr
simran112
parthpm
praveeniitkgp1994
collin23
lit2018024
vivek_shah98
tyson18
lazylad
nobita3
abhishek5452
amar329
ncheck
LetBeFaster
gunjank775
arshia28
Holmes7
pkc3766
smit_s
Meta_Coder
arjunmajithia99
PARTH_4399
karan984
amirparsa
bamdad4
rokibul4
kapil632
c.neerajd007
fight
gts_47
programbhavan
julitus
chintan37
rohitjadaun3
sepehr8
karan303
xsanchez
parthkohli99
deepak1489
amrit69
dashanjot
md_1999
pbiswas101
gaurav2012
twenty1
coder_124
himanshu2020
karan1042
chandanagrawal23
jeetsagar
arth12
rahul2709
remidinishanth
dhruv437
ankur221b
roronoa25
tramplingbrain
xxx27
shivansh149
abhishekprakash707
kumar_amit2000
mishra_tanay
superparikansh
bbuddhabhushan
nikcodes
srivaths1
goutham89
flop_coder
wingman__7
rakeshranjandas.bbsr93
basu13
VRUND297
codexharsh
ishanthapa2607
iamanshup
arun1754
linton_dawson
meetchhavi1998
apoorv.singh99
ram_24
kumarvishalgupta164
akshay_1
r-tron18
anirudhganwal06
_Devstar_
arpan150
anandsaurav100
purnima4396
extraordinary
saumya29january
yashnit1998
arpita2512
nithishkumarkr
himanshu.chauhan.mec161
kaviprajapati1997
kartick.hariharan
pranjal85_
littlepawn
labs.mercurial
sai4069
ujjwalpandey408
rishabhchawla1995
hiren47
marcos43
andrewrsv106
run_4_tle
inderjeet30
Vasil.B
iamrajiv
lamar15
ritika272
parv13
ashutosh800
ravijot
crf_kennedal
writetodipanshu
navpreet19
abhinav1801
guddu30
uCanakp_
divyanshu217
bharatagsrwal
yashrawat
jon_stark
Vintage_SD
shreyans41
sairam194
sagarkadu17
tokir_manva
shivam2379
deepakpatidar9698
ganeshgandepalli220
gaurav.arya.1297
ishandsce
shivansh88
phani88
lalitsheoran
shubhamyadav4166
akash3674
shivanshu63
aditya4531
saumitra16
raghavbansal011
iit2019071
amit3610
manik115
viknash97
abhishek6250
dchaudharyroyal
mrmani
vivek1999
Gankutsuou
lakshya117
soumen85
soumenpatra712110
samyakhappy9
soham156
shreyag.2199
pooja1163
ram560
dr_death
shivam2324
kartikkumar2
suryasonirewa
yashwantsadh746
rohitratnesh077
piyushsaudagare420
phoenix7
pawan762
krishnaagarwal199038
prabjot25randhawa
manashi3
iamstudying30
meghana294
vivaangupta1304
vivek.21
nandini235
spartan4
keerthan22
niteshyadavand2000nitesh
ismailsarkar
om1621
manan253
acrt
agent_1620
adsk261095
manshujain2020
chelsyratnawat2001
darshan285
aditya3540
prafful16
kenta4
rishab223
f.y.kidwai
vighnesh30
abhi__12
piyushjain2472
kanishk132
soenarchitagarwal
abhishek3051
abhinav.17.becs
msarangct
manish016
skapoo14
vladimir78
ambesh5
ashish3716
rj3010
mehrdad9
mansi243
yash_baranwal009
jay498
Hawks
lion.sud.k
pravallika38
cvkude
CodeMonster
kapil613
shubhang21
IcyFlameX
abhilash7
chillerbee
anku26
khandavillisurya
Walking.Deceit
rishu103
ricardokaka69
abhishekranjan1
ak98ki
samavedam
atikant3
meet128
Gaurav_Joshi
saurabh22suman
nitinitin98
mpreston630
dharantej
ron72
subbhashit1
Iskandar_Sobirov
shubham5380
nischap191
john1728
charusachdeva271
mdaliansari33
emil.ekambaram
raisukrutha
abhinavk2404
mihir86
ankyraj
mihirlaldas
sanu_raghuwanshi
hemanthsrinivas10
divy2113
jaideep31
deepak071093
lakhbir.ls3
pst1823
puneet350
dhivakar_s
aalind1
rickgrimes11
omdewangan
shreys2899
shreya1087
17uec028
sirius_295
ankur877
abhishek3687
dingu
shubham5449
vishal1742
dipak115
neel193
nileshmare101
amanpasricha
dr_virus
au.ashish1
MBari1
mohamad30
neerj.ydv
samarth280
dharmender7
jain1898580
acharjee266
pnbali.4141
sunidhibatra08
lit2018033
pareshkumar1
coderkb
Aatif_Habib
dhaval.bhut410
bichu136
yathartha32
ranji.gandhasiri123
Abhijeetofficial
sanjeev522
akshayk007
sunny427
manoj1349
kiran1534
grestonian
divya3033
rohansharma.8574
rehman0211
sarthakdandriyal3199
anuj7332
yadavankita9983
sumit_raut
roshanjadhav625
GrayStack
swastikshetty1519
rohan758
n246
s.nileshkm
asheeshpratap
deadlyalive
prajwal437
satakshi4
radhikakbj123
chrulesolomon
bhavasagar09
jeevanmali1994
umakant_dubey
navneetha
agarwalsahil97
sks_15
debapratim1
yash901
poojitha196
ambi10
edyluisrey
redouane1
raghunath41
Radiation
ranit16
PiyushDharmani
pradeep1583
ronodeepbhattacharya
maverick080800
dhaiwat1
AKATsuki619
ankitanubhav212
darshakafarsha
mustafiz2
chinmaygandhi2000
minu24
Bruh_
rohankumar9
sherlin11
manikantarevuri18
aayush404
raynoldw222
juhi161
nihal136
jahnavi329
sravan79
rohitkumar999
bidisha19
suyashmishra143143
dolly.mailbox.gupta
sweta456
ishitwa2
vibhishan
rajksingh2412
sauravkumar405
ashishsalaskar1
satvik70
sudipan1
rohitkumar23
sindhuja221
tanishq06
vivek2516
dylanmordhorst45
upamanyu4
eliotherbst
Santhisrikh
harsh2347
siddharth1623
gangireddy4712
saket312
sandhyavineetha
neeteshkoli70
shivamgargmi05
venkatasubbu913
aasom143
amitkumar44
pratikkaria96
kadamrohan76
shubham4915
aakash931
bharat_231
mehak.malhotra99
dikshit5
nimit1428
abhi123jsr
Amit92754
jabz
sarthak484
paraschauhan57043
systemofadownfan456
deepanshunikhil
mehul201
rukhsarafroz29
Adarsh08
bhirendra
sovan13
VishalDEV
abhay549
ManoBalaje
kishan380
adarsh864
sagar1198
rashmi799
jash1_1
arun1419
brijesh242
nitishpratap
gseelan
krpradeep891
parth3146
pina
abhishek4206
raj1687
jai164
vineetha42
divyakakarla93
t.n.s.rama
vkk7697gmail
rajat1589
gogulsharath
gulshan78
prabhatkumar15
mahmudshakil51
gomyachowdary
pranay408
saritshekhar
gandharva2
priyanshjain301
rohit1762
Aman_3
bhavanshu
shwetapatne06
krishna1579
007sachin.sp
mrityunjay27
rajkumarrz
prshntkmr112
rohankurekar27
shubhamrana300999
jai243
anktel
justrowingby
himanshu1435
rajatbadola7
mishra.parul44
satyajeet104
neha_1304
prashant1307
himanshiagrawal1059
shanker-j
souvik777
backbencherspot
devesh358
amshaikh666
hunterbrodie
lucifer32
bhawesh_kumawat
vaibhavesvaibahve
akamit21
abhishek2071
kishorejaggu14
kumarchatur1
rahtes
vivsh
nethaji10
SayyedNargis
pratik1143
yash2135
sanchitraina1999
prashantsinghcomputerengg
longsc2603
riahabh
saisrinivas100000
kuldeep502
madhukiran9201
ankit1125
sufiyan_nitw
sakar6
rasheshpadia419
ankit1517
ayush.p321
tushar611
manu123cp
winadityaa
gaurav2305
jvs.ravanan
rishabh1912
gy8534
mohan681
nishu60
neha2240
sachin1363
vivek1979
NaveenKumar07
dipanshu200501
shnavneet
imran.zinga000
abhi446
_akki_08
srupesh51
afaque6
pankaj1289
dakshchhabra652
gaurav2531
dhalsuchismita7
apoorva15997
anuragsarkar250
deynikhil963
rahul6398
crf_canoj2
harshgarg390
ankita1577
vrk.vijay2
hardik443
abiswas
victorkras2008
pratik1169
arnab250
sravya2000
master_19
arpit94
vipul1999agrawal
sona37shetty
shruti1182
vallabapurapu
sid.zx333
vikas1430
muppatla
kv180503
pari.konduru1
coolujjwal12
mallepally1
v.k.pandey98
namrata343
CALM_AND_CODE
abhishekjadiya.29
cvivek299
nilani
sonali898
kvydehi12
lokesh724
ashish1405
kshitijawesome11
roybiswajit7890
mythrayeegopal
asadrockzz1234
VipulT
sdankhara303
amarthya_ravi
avadhut5
mohit2626
vijithaparasa
aish623n
Hitesh_1711
bharadwajsaibcm
swatiprajapati08
vedant242
monu32
kajal1406gupta
ghoshsai5000
n140651
ruchitha51
tushar995
nupur62
namanverma18009
udbhav41
deepak1083
vigneshwaranv464
amanmahajan676
sohan21
shauryaaguptaa
maniac1
saumya178
vidhi.21810043
sreeja150
shubham6553
f9d70383d5594498a0d815d00e239c48
shubham3019
sak3t
i8cs067
agrawalpriyansh392
tejendra10
kamisetti3
sam887
failed_coder
nexus_18
deepak3583
ann83
mhszip
rahulkumar104
pandurang24
manujagrawal777
yugalkalyan
vaishnavi342
simonanna2019
priyesh124
gouravkgp64
vishnu4121998
nancy128
akshay3415
uferesamuel
santhoshjoru6
shubham2471
shiva763
santarup
ravitejaramoju
pranamika1
poojareddyk98
itsankit176
axe1
saptarshi50
rounin_
190330088
mehtaarpit1998
navya218
pragatimodi0
rishu133
adirao1501
sujayn18
devanshi83
priyanka4089
srikanth464
haridinesh00
a1370
suneet14
vishalsharmaoist
infytqprep
shubham5799
popuri2
amirreza
mahesh1326
sathyendranadh
dhanenkula
fathima.kousar20
dc85045
aasthasharma738
nikhil1943
nancyparekh2308
dharmendra.parmar794
aatreyasinha
hademylola
samyakshreyash
kartikgarg308
amuchand47
ravithesun02
shubhi112
utsav106
kiruthika96
subham.imgupta13
savanthegreat
prodipdatta7
sairajsawant30
aguthankgod
codeanna
vk44vipulkumar1998
thithershore
parthmangal_19
aditya2351
shubham6725
i_love_you_3000
udaysahu009
aman3118
Abhi9great
msasanksai
nitinkumar0410
nttarun719
monicasaha2017
ece6_1
uppalapatibindusrisai
alekhya.g
pal071
prakash746kumar
deadman_coding
amit99.ag
dhrushit
praveensm8991
akshay23011
ramibenhamuda
vvbhandare3890
afeg
asisrout7
rachit1659.cse16
ananth116
anandarup1
yogeshnsingh555
2019ucp1352
krishna2314
satya570
tilakchandgm36
aadagpta222
kumararyan1929
2019306
aman1915
garvita23
deepakvish001
mohdakram
dylan50
murali271
piyush223
harshit1144
dharsheeni
sahajapulluru
ananyadey.95
free_electron
sahil1308.rockstar
ankit14
kgarun50
singhmakkhan0
akshay4570
salavisanket722
sumitsudhakarmnnit
surajitbaidya8001
kolluru.hitesh
rrrip4798
tarunbisht105
limon
lawrance1
arpit677
karan838
anjaliray26
harsh2521
sohita
debaban573
abhirustagi1908
pocketok
manali145
ruchi191
harsh2251
jay542
joedayz888
rajesh1461
rajarawal4
ulhas
prajakta916mane1
ramaraju.gva
ayush2459
anukul11
__aaa
gaurav2745
vijeth15
smriti94
pranaytupkar16
sakshi631
keerthi549
tharun170
fayaz32
suniluee
suraj1616
shobha40
dk88771252
tiru
dhruv.vachhani.dv
ayushkhare111
sourabh462
agarwalprashasti1999
kanha10
rukhsar
alekha2
deepakshiarora8
chathan2569
advitiyabrijesh
anushka128
shashanksharma
lone_walker
amrendrakumar565
abhiyankraj
vishant12
gurrrung
MuddledLuck170
viplaw
kasra2
souvik121
Bibhash7
mandalsubhajit655
saabhiahek
testfn
dsasalatti666
panda.joydip30
zeeshan.khan512
anantkaushik
saumz
muhammad731
agrawatj
roshan474
pratyush19919
ak30
lokeshraghu.555
jeya
rht.jaiswl
yepitsoptimus
niharika387
mirthula1
shruthineela205
nihal130
OniOn_Hash
dkoladia208
clodoveo
khushbusinghal1234567
amarnath79
souradeep99
shubham6429
amitvasudev47
mishra.spandan93
chikku1
garikipati.
okpalafaith1
shivsaran2
tanuj51
arance
anmolgup
hitman_1
monipri1209
neha1788
unknown_321
chandan147
chitransh32
shubhamvibhute84
jashlodhavia15
krunaljethva90
nic6200
sivadharshini15
aayushpagare21
karmakaranup452
keval81
manoj_269
uppalapatibindusrisai1082000
saloni.gupta1
Sid0542
ambaram1
aman.dulhani97
krupa.rangaswamy
debdut2
susmita146
raja836
ravidbg28
pavan1271
vivek_karma
monilbhavsar25
asifanwar0000
iemsatyam
vojjala2
basheer10
shubham7730
sahil_verma_24
vathsalya_2301
amitkr47.kumar
deysubhashree02
prasoonk187
sahil1332
challalasya143
vaishali410
ishrak1
nikhil1981
kamrulhasan2
shobhit240
fenil.panwala
harshita216
sumanth3333
harika315
sammy.in
abhishek.ak69
prabha61
dharsanblue
Hariom_Pandey
ibbalamurali2001
lakkimsetty
kogantibhavya456
chaudhary_
gudipati12
mohammedafshan85
abhishekm894
alter123
pouyanavid24000
blueedge
yuktee2
eswarkamal
NaveenIshanth
kurt31
prdp89
gursimran12
supriya790
pasumarthihrithik
sahniudit27
vishnuvardhan.bheemireddy
kanmani.e
goyalsakshi246
saikat311297
schniderchelsea025
abhaykagalkar
aditya.paul18
sanjeev187
sanjesh3
suyash.sreekumar
anidutt27
rvimittal
swethalakshme
mukherji03399
1110darshan
4667rahul
octakash
ankushchimnani99
anchal84
agrawalprachi1179
ygldurgadevi
sjchat_
SubhanshuMG
singlashubham49
bhushan148
saurabhkumar73344
prakhar715
kanishk121
maroon1
sristy9
Ankul_chaudhary
vanshaj30
arkesh3
wq1379121824
saikatchoudhury1998
db439
shashank1176
karimi.saba23
mayank2362
mohit953
begin_ner
vishvam2
lakshay80
ruchi297
Arunkumar13111
ranjankeshav0
arla.revanth96
uday538
shivam221098
anonymous102
teesta1
ujjwalgupta303
jesvin28
hkadam477
surendra291
sohini48
shaik615
sairam215
krishna621
harshdhiman
heian
hardik-kgp
vandit_shihora
venkateshganta.77
abdelrahman34
bhaveshsp8624
srkshk25
cyberAce
sanmoy1
18euec088
shreya1417
baibhav9
vishwas129