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


magic ranking time limit exceeded

I am having problems with magic ranking problem.

I am quite sure i am using the right approach and produce correct results in O(n^2) but I keep getting TLE .

would someone care to explain to me wat's worng? thank you in advance .

here is my solution to the problem

and here is another solution with double array instead of vector and it gives me SIGSEGV .

asked 07 Apr '14, 05:03

muhammedabuali's gravatar image

accept rate: 0%

toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 07 Apr '14, 05:03

question was seen: 943 times

last updated: 07 Apr '14, 05:03