-
Notifications
You must be signed in to change notification settings - Fork 6
/
hackerearth-jan-easy-2020.in
1942 lines (1942 loc) · 22.5 KB
/
hackerearth-jan-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
Kalam132
bohdan
roll_no_1
miten4
prashantshishodia.dakshana17
amanjoshi668
jains8844
failed_coder
yash2064
nirdeshjha.1997
sanjitpd777
atriwal
chahatagrawal117
kshitij381
karan984
sarwarkhan
vishalshekhar
avcbcoder
gourav124
ghoshsai5000
sumitdanekar1999
zainalabedeenali1
LetBeFaster
karangujar43
Black_hat
gultai4ukr
thErocKstaR
samarthtandon97
adi0311
shruti8019
panda.joydip30
satwik55
c140
kv234
bgokulravi1999
akshay_vala
abhijith90
siddu40
vittal17
sudhamshu1
us4
nitin1111
hrushikesh23
visionkumarreddy
vardhankumar1
srivallabh2
vamshi191
thasrhith
harshith87
sunil1007
sumanth215
jasti9
saiteja150
hruthik5
aravind609
samaaditi
P.S.Tanuja
reshma323
fathima_wajiha
chandrasahithi1
m540
geethamanogna
amitha31
p.phani
bhimavaram
reddyboyinajatin96
krishnavamsi7
shanmukhi12
karthik1214
PSP123
likitha65
revanth134
maheshwarrao
vydhika1
AviDewan
himanshugarg747
shaik433
harshitsinha6
akash2294
vskt2001
kakarla10
sairanjitha
anuraag34
ashish2515
nikhithasree
karthik1174
punjala1
deadman_coding
akshay_1
arya102
first61
harsh566
gurusandeep1
ajay1738
supraja75
thatipally1
abhinav1157
saisree20
p373
sama11
pawan618
P.V.Geetanjali
harshitha321
JOKER_
sainithin2
naveen1688
chandra360
kartikagra2014
vikaschandak05
imankalyan
elaine2
aayush361
shivam3026
busy_coder
cs19b060
Yash_Thakkar
harshilpatel230499
jalak2
aditya2815
jaskaran29
siva140191
kapillamba4
karticamodi
m.nematollahi99
simran112
harsh1472
raman136
aniket883
Vijay1998
2016ucp1699
edu.omkar
thomas33
sahilawasthi12
techtips
saurabh1120
seshathri2019
yagnik5
piyushkumar18
noelabydas
siddharth1623
bhuvan55
neel193
singam6
shivavardhan
jay.b
saisampreeth
chandanagrawal23
laxman90
deepak1489
kumudgupta76
ShubhamPatel26
rithika28
indra2
kondrolla1
ashutosh1101
vineetha67
sri691
sravya177
inukurthi
sujith.c1
sweety125
suniljs2015
V.ShivaSaiKrishna
shiva503
lokesh619
saichinmay.t
vutukuru5
jayanthramachandran
mosaad.ahmed
kosaraju3
lavanya562
prathyusha153
serika
konala1
sanjana386
vivek.reddy
ankammarao
purnasri
jayathi1
sreeram56
saivenkat14
tharun144
syed521
Tejesh_54
mujahid13
chennareddy1
rohanprabhakar
pavankumar163
afnan14
peddy
f4b416697c35446cbae9ff319d6f791a
SAIPRAKASH_REDDY
jatinsingh0710
arjun418
aditya3540
saumya_agni
pranavi41
hrishi19
kaushik380
akhila260
sainikhil23
Santhosh_555
naga346
roopam12
komatiraju032
shlokpandey123
mohan825
vijayannepu972
j_s_r_r806
aditya2350
aditya2823
zeeshan.khan512
ajinkyagore2
satyam411
shubham4686
erikareddy
anshul247
poojitha122
shivani961
kartik_17
vaishu9
chandrika119
annie63
sricharitha
sai2429
a.srestha
koushik183
jayanth_57
riteshchhetri10
srirag1
ankush375
suraj1681
sudheer185
sai2427
ary1733
vinod611
tejaswini252
shaik601
m.v
rakeshwar4
hrushikesh50
jaydeep50
ercument
linton_dawson
harshishyadav
yongwhan
venkat517
tridham1
mahitaek
jaswanth78
Praveen_Kumar_Rana
yaswanth_pedagadi
sreevardhan1
sai4107
chenna19
manish1842
tammadivya
sanjana361
mamidi14
vishwal
shobhit244
anubhavjain07
madhurya_170
varun471
prajwal437
chandinidevi
devimahalakshmi
sheetalramchand
gaurav2012
raashidanwar
sai2428
f2015676
ssid8802
chaithhanya1
akkineni
kovuri2
kashyap57
chaitanya521
parthu4
a.nikith
k.nikhil1
pratik279
chiranjeeevi
Holmes7
ankit2274
sumitkumar150299
mahendra363
mani417
sayantan149
eldar3
roshan258
karan1042
anhltse.fpt
saurav_singh
9919
RISHIKESH_SONI
yashsri421
jayesh205
saransh74
agkamlesh06
narlaaditya
raghav470
nancygarala98
ravijot
bejugam2
saichander.m
nicolae1
wadhwanimayank39
xavier49
experty14
rithin6
rajeshwarinadar721
pavanyadav1947
nivas18
bobbili3
201701183
mohitkumar15
sunil283
sriram497
mukul166
a_kill
tramplingbrain
kharb
abhinay94
varsha667
p.vineeth
saubhagya17
jimaan
arpit94
pankaj.chand.33
sahasayantan6
adityamanchanda15
adityashirude1708
nithishkumarkr
nityanand12
thilak32
ayushsinha132001
akshat_rana
modi.manojkumar
andre103
chaudharyakshay7777
jyotsna1
harikrishna95
chinta12
atiqsohail
satya2436
gokul511
shiv4s
manoj1239
nandu3
manjpatel
debaban573
eulerkochy
nikcodes
Abhisr4
architect034
abhinab.uwf
appmnit
sonalsriv02
Bibhash7
singuru
shubham7202
mayank.soni055
flyingninja97
venkat277
arunikayadav42
saipraneeth12
programbhavan
rathore4
parshwashahsbmp52
srirampentakota1226
deepak2620
anirudh555
Vishav_singh
saurabh1998
killswitch
ritik.9869
krishna_teja_99
chandishkumarreddy
saikrishna134
aala
manish1846
vedanshagarwal4
pavann2
deependra_18
ankit0709
ajay1712
saurav582
sai2449
kishorejaggu14
shreyans41
sameertopcoder144
kvs4
sai2388
dattu9
saket_23
abhinay96
chinthala14
lokeshsinghi
aman2714
siddharthraja
saiyam4
shubhamp2503
sudeep.chauhan24
jagatul1999
mridultyagi1999
deepanshu94
karansingh9
enigma_one
satchidananda
subhash140
chintan37
shubham000231
kuwal786
zanj0
ashish2710
twbbbb
mubtasim
vishwa89
lokesh011101
amrit6101
maths1
PES1201700281
aayush344
aakash727
jagadeeshbangaru1122
alrightguy71
rishesh
ashutosh1290
pypypraful
dhanush137
masterashu
acrt
tushargoel1402
surasnayak
lakshmi396
vrk.vijay2
idofsouravkundu
karan.chawla2017
ishank28
sy77309
mirza47
anil1367
dharmeshsinghpaliwal.7
ash_k
utkarsh814
builtin
moulik5
himanshu2228
ayushdas6602
chavali4
ankurp187
ratandeep8
ray.sayantan99
cdr
zuhaibul
gudipati6
varandani.umang07
akhtar10
ronak87
Pyder
vivek1130
AshishYUO
sayan328
rajat533
v.13
anmolmaniksingh
a4aakash
sai3076
remidinishanth
mothesaikiran
rahul_ojha_07
anveshc
pranay437
sourabh.gupta
sneha992
sonushahuji4
nimsi
mukkaudith17
sai2706
b.manojkumar1
hariphalgunareddy
anudeep113
shreyasawate
abhi264
mahaksh
vishwanath93
imran.zinga000
shrivastava.96vivek
chetan854
hacker2908
sahil1466
ritesh.joshi101
rkssoni120599
akushalnaidu
aryan542
piyushshah12327
ced17i017
muthusamyms
vishnu185
nitesh162
937becd497e94a77aade1d7e4fad568c
pranjalsaxena9
vanasaikiran29
prajwal117
2018ume1680
smhiamami
preethy13
harshitha322
vasireddysai
thejaswini25
gandhiv98
manasa330
hmr_270
mpreston630
tejo
ritvarun123
maitrayan6p
prakash575
infectedNode
itsatarax
rohitdhiman0202
tapanmeena
chaithanya100
damavinay
vishwaja2
chandramowli
mishra.spandan93
thomaskutty2
ahmer.mehmood191
sanskar76
raj1662
pranjal342
nikhil_sarda
srinu47
ravitejaramoju
sai4069
hozaifa
yashhiran1999
saidheeraj5
leelasaikrishnavamshi
sonus2884
praveen931
17EUEC063
shreyavanga97
akshay4570
humble_idiot
shubham5776
nitin551
akashad1998
ria.mangwani08
lokeshreddy_29
aishu34
mayank2281
vivekkrg
jai243
arshk102001
jbansal380
sanchit127
aakj
cyberAce
mistrysamvid
sairam194
Coding_master
sushil444555
palu6993
vinay1713
aditya946c
sharmakushagra3125
amanvasistha11
sanjana85
sauravgupta5400
ro13
dhruv437
anuranjankr
aadagpta222
aman27021998
MrHE1senberg
divyanshu217
pritampal99
shivkailash12345
shuvrajit2
jashu_1
vratantkhatri18
aditya1494
mujeer1
abhishek73knp
kataripriya1
kshitijporwal88
suprad.parashar
shubham6227
sanjeev104
atulmishra267
tarun1098
sathya13052001krishna
dbzabhiram
PADARTHI_SRUJANA
kbbhatt04
com.mailuser
prabhu116
staringdebojit
noo61
akshatchauhaniit
divyansh125
subhash8111999
raghavbansal881
samuel116
kundankumar4
fahad126
rithyka9
ankyraj
saranya204
bhawnagupta
abhilash452
rishabhjha28sept
rakesh945
sumitk25a
hkadam477
gm7
komarraju.harsha
ram473
ujjwal_ab
jagadees178
deepak3583
harivignesh6
rahul2567
sarita1124
pramukh6
akshat222
sabestin.nadar16
siddhant635
deepanshu424
harshitha3313
kunni2000
rakeshranjandas.bbsr93
yashraj28
suresh708
sudheer_121
simha1432test
snavneet561
vinayaka32
karthik345
sr363298
mahendra218
PES1201701498
animesh208
prasadc8897
ujjwal181
kavya555
meet76
jaimin16
prasoon3
wrickdas2010
apoorva.agarwal1998
tirumalesh1
deepjoy2
naveen.h760
rubenjohn1999
codingFreak_
yash1743
parag132
tiaguito
Deepak_1141
kakavegito77
paraskhare1896
rushirg
deepikasruthi
prakhar.mnnit.66
rathnasubramanian2603
pranay323
anirudh64
payal222
matt102hayden
harsh2251
ritikasharma0511
huzzy
PES1201801597
akhil854
rajan.soni.5494
aishwarya46
jinjaladinesh
coder_124
bharani27
sai2425
shubhamagarwal904
kamal288
Abhishek4813
pratyushsingh9473
gokulthottupuram
mayank1015
25shrestha97
akam0068
vemula.shanmukha
hekmattaherinejad
taruna_
aditya4531
ritikkanotra2000
mohini163
VoiConBanHeo
preetilolla
chayanmaity0
aayush404
912vinay
stevenvikash
mamendra
cs16566
rupam35
ashu4087
dharun10
swarnim21
neel134
jayshree30
banwarilalbishnoi97
jg1
kanak45
hemantbirla.b19
suprio3
vibhishan
ankita1577
tirthoo7
onkar_kunjir
sarthak171
fuadul1
manas179
Freakqency
rishabnegi177
mukullion
sandy.decoder
madhesiautkarsh02
pratik526
baidsahil
the234
sangram10
ankush424
iit2019055
vivek2650
dinesh596
makkaaditya
chandrarajsinh
akhila469
amitmishra795
Imankitraj
sushant4573
prasanna991
sakshi1167
rishav_19
poojay27061998
sangeet7
nikhitha.nikhi99
dlavangna
udaynath
amruta203
deepanshu07
utpreksha
samyakhappy9
meda11
dhananjaikumar
a.antony
ptjnandini
nandusrinivas
yash2135
jangam8
vickysingh
ayuesh
raghunath41
kingsolomon1
K17ZH61
ajaykarthik54
suawasthi
sreenivaasan
shagunarora2601
nitish535
am.akhilmahajan
keshav143
nitish531
deepak1083
iFall_iFail
Rogue_elephant
wangdu
Akhinapally
bishtaman1111
shubham5380
apoorv95
ashish1729
gajrajgchouhan
avinash1378
PES1201700079
SynergyStud
mukesh7758negi
divyajha312
kushagra292
savaserehemanth
soyabhishek81
tejashwini12
sindhu303
nischal17
mynenisaieshwar
dinesh1384
shag527
nandakishormpai
sumit1366
nikesh63
siddharth1372
rahulmittal1167
gaurav1404
tanbar999
11111trojan11111
sasintheran
rgupta917
guhanmuthu.gm
tamonashchakraborty11
abhishek6958
sathya.srivatsav.ss.100
prasanthi34
chintanjani65
mailofnidhi.95
shubham3019
saptarsi10
piyushm995
sumitavacharya11
bharath934
sourabh782
varma.dev.01
17H51A04D8
ganeshjanapati1
chinmaysuresh
smahapatra7496
neo.sunny2k13
sajal16
shruti1394
jayesh382
yeshwanth44
lakshmikamala
aparna348
akshat597
sparshgupta.a8
tarun1223
chrameshiiit44
vishal1742
abhilashn9
hari964
juhi86
olunusibest
abhishek_3953
kk_2
prajyothalingale05
jayvy19
17ucs153
sohanuzzaman
aslam29
vivekmanchikatla1996
princesaharan666
anju112
subhash107
Kalakalyani
faizal-mahmood
ameer29
shubhamchopra552
deepak3502
khushal58
ayyan
tejendra10
MuditGoyal
abhay549
anmol567
TheProgrammer
sravani460
rbjoshi
ram679
harshit1381
kshitiz50
jglee1
anand972
Rituparna_mandal
sanjeevkr7404
pawan368
b180079
rajeswari66
subhojeet913
bishnumurmu01
mbharadwajj
t.n.s.rama
shanmukha25
narenbagria
nupurrajal
ashish1405
mustafiz2
surajverma8787
kedawat05
ravi3169
prasoonk187
sanket389
rajarawal4
ritik198
manohar247
keyboard
mahim.mittal2001
mahender23banoth
sanchit02
harvin.pratama
heenabanga2597
gnjmrk15
vvishnu898
rhari.s7
patel77
manshujain2020
rahul.jha.31
kumarraushan4080
chandresh97
kumar.raman4004
kv180503
shubham9411
hhiteshyadav
rohit3126
Akshyananda
deepu62
arunkn28
k.v.manikanta
180031206
pallavi352
karthik.uttarkar10
alok591
arkh18cs
ankushbairwa22
vipin318
akanshakumari125
ankitmishra9012
gauravc6
satyajit69
dk88771252
abhi393
adityam4a4
neonblast354
neha_1304
ravikiran53
kamrankh068
Himan10
maxxmaran001
haneesha8
priyadharshinisoundararajan
abhinay.artham
adarsh72
uzmi1
sachin2109
corner1705
trancecoder
mvamsikrishna24199
abhishek3335
ricardokaka69
tyagi_titans
surya876
ankit1125
amantomar20
gaurav1666
ashumay0
tarunadatta
tanishq70
shashira1
jeevanmali1994
mani624
rishikesh185
rohit2577
16691a0570
52dcd3269fcb4cb1a2ede03b1d609815
iamrajiv
ashutosh1765
swathish.07
kritikumari1111
rizwansoaib
samir.pareya
sarna.tejan
masoomraja94
harshwardhan15
grice
moulick.sayan
singh.ikjot09
kiruthika96
osama57
castielblake15
rahulsainipusa
harsh2347
nupur79
yaswanthkumar2
Nikhil-kumar-singh
pareshkumar1
chiranjeevi72
situnamrit
masud20
sahil.codes.it
rishika.wadhera6
jhonnysrinivas32
nishank.suresh
abhinav__0710
harshit.shahi54
kausikselvaraj14
antonysonyjohn
jai164
pranavkotgire1201
ankush508
sai4011