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

×

Gettig wrong answer in DIVGOLD

asked 23 Mar '15, 00:47

ring1234's gravatar image

2★ring1234
614
accept rate: 7%

edited 24 Mar '15, 14:01

admin's gravatar image

0★admin ♦♦
19.8k350498541

3

when ever you ask question about error in your code, please either provide comments in code or explain your algorithm so that others can get knowledge what was your logic, as it makes easier for one to debug the code.. :)

(23 Mar '15, 01:40) rishabhprsd72★

Could you please comment your algorithm?

link

answered 23 Mar '15, 00:51

amitpandeykgp's gravatar image

4★amitpandeykgp
25911522
accept rate: 0%

Wrong answer for this test case

6

ZAZAZA

Answer should be "AZAZAZ" , you code is giving "AAZAZA"(one Z is missing). HERE.

link

answered 23 Mar '15, 00:54

shivam217's gravatar image

4★shivam217
8383515
accept rate: 20%

edited 23 Mar '15, 01:05

For DABC the answer should be ABCD but your code is giving AABCD...

link

answered 24 Mar '15, 18:42

sharru05's gravatar image

3★sharru05
5591723
accept rate: 14%

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:

×1,070
×9

question asked: 23 Mar '15, 00:47

question was seen: 749 times

last updated: 24 Mar '15, 18:42