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

×

sheokand and string timecomplexity problem

0
1

solution link : https://www.codechef.com/viewsolution/18880951

please can someone tell me why i was getting 30 points however my code was similar to editorialist code @vijju please. Can you find the problem behind that

asked 12 Jun, 21:05

code__champ's gravatar image

3★code__champ
594
accept rate: 0%

edited 13 Jun, 20:29

Try passing strings by reference instead of by value. It can be a good optimisation to start with.

(13 Jun, 21:27) vijju123 ♦♦5★

done it but this is not sufficient i think because it gave me TLE to

(14 Jun, 01:08) code__champ3★
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:

×259

question asked: 12 Jun, 21:05

question was seen: 140 times

last updated: 14 Jun, 01:08