TAEDITOR - Editorial

I think you are lucky … :slight_smile:

My solution with same approach is not getting 100 and even I used same approach during contest, I got 50 only.

My Solution http://www.codechef.com/viewsolution/4404727

I am getting SIGSEGV for all test cases…I am using linked list can anyone help me?

http://www.codechef.com/viewsolution/4406111

@gdisastery1 What i found is “rope” is taking more time(approx double) than simple std::string insert/substr based implementation. why??

String based @ http://www.codechef.com/viewsolution/4404035 ,
rope based @ http://www.codechef.com/viewsolution/4390862

Use this to generate a test case: http://ideone.com/X1kXHB with Python 2.7

On my computer, the std::string version is taking about ~2.5 seconds and the rope version only ~0.3 seconds.

1 Like

I am getting SIGABRT for all test cases, here is my solution :
http://www.codechef.com/viewsolution/4474050 can anyone help me?

I Didn’t Understand The Editorial , Can Someone Please Explain it to me ??