ICPC 2019 Regionals - Discussion (of Problems & Experiences)

The editorials for icpc replay contests can take some time…
Let’s discuss solutions and share our experiences of regionals while editorials for problems come out…
Comment down if you need help with a particular problem so that people can help :smiley:

Got any interesting approach(/Experience) which you cant wait to share? The wait is over :slight_smile:

XD

1 Like

this is question 5 gwalior pune replay contest.

i am not able to get what is wrong in this code .Basically i am not here for a solution but please just give me any test case which is output wrong …

Question link - https://www.codechef.com/GWR18ROL/problems/THSTRS

My solution - https://www.codechef.com/viewsolution/22041066

thankyou…

you forgot endl on line number 42 XD :smiley:

Wrong Test case after putting endl:
1
a
b
bc

expected: 4
output: 3