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

×

TLE in TSORT with Radix Sort

I'm using Radix Sort for this problem http://www.codechef.com/problems/TSORT/ .
Inspite of being O(n) complexity, I'm getting a TLE !! ..

Here's my implementation.. http://ideone.com/zl1aKp

Is there anything wrong with the implementation?

asked 08 Nov '13, 17:48

jaggi1234's gravatar image

3★jaggi1234
1123
accept rate: 0%

edited 08 Nov '13, 19:10

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:

×775
×74
×38
×3

question asked: 08 Nov '13, 17:48

question was seen: 2,353 times

last updated: 08 Nov '13, 19:10