You are not logged in. Please login at www.codechef.com to post your questions!

×

Trying to do TACHSTK with making own sort function

Hello, I have been trying to do the problem TACHSTK without calling the qsort function, which is a part of stdlib.h. When I have tried it with quick sort, I get TLE, and when I try it with merge sort, I get WA. I have tried two implementations of merge sort and I can't tell what's wrong. Any help would be appreciated. Here is the link to my most recent try: http://www.codechef.com/viewsolution/2411081

asked 29 Jul '13, 04:24

zackscary's gravatar image

2★zackscary
25136
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×3,704
×1,470
×1,056
×28
×1

question asked: 29 Jul '13, 04:24

question was seen: 555 times

last updated: 29 Jul '13, 04:24