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

×

help in optimizing solution of a spoj problem.

prob : http://www.spoj.com/problems/COOLNUMS/

my soln : https://ideone.com/qw9NDK

It is giving TLE please help!

asked 12 Jan, 22:51

pk301's gravatar image

2★pk301
3418
accept rate: 12%

edited 13 Jan, 11:24

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:

×2,085
×976
×617
×78

question asked: 12 Jan, 22:51

question was seen: 115 times

last updated: 13 Jan, 11:24