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

×

subtask 1 and one test case of subtask 2 running for art of balance question??

can anybody help with my code I was not able to debug it although my logic seems correct. link to my code:>>

https://ideone.com/e.js/HiAdKh

asked 16 Feb, 11:48

bhuvnesh97's gravatar image

3★bhuvnesh97
1
accept rate: 0%


if(nfact > 26)continue; (line 28)

Remove this line of code and you'll get an AC as number of times a letter is present can be greater than 26.

link

answered 17 Feb, 12:25

sargun99's gravatar image

4★sargun99
0
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:

×427

question asked: 16 Feb, 11:48

question was seen: 89 times

last updated: 17 Feb, 12:25