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

×

Getting desired output but it's showing WA

Please someone help me with cutting recipes. I'm getting the desired output but its showing wrong answer when I submit it. Here is the link for the code:<script src="http://ideone.com/e.js/LFZ7mC" type="text/javascript"></script>

[link text][1]

[1]: http://ideone.com/e.js/LFZ7mC" type="text/javascript" ></script>

asked 04 Jul '17, 20:29

singh_prishita's gravatar image

2★singh_prishita
01
accept rate: 0%


I think, you understood the problem wrong. Try this test case:

1
2 9 6
Your output:
9 6
Correct output:
3 2
link

answered 04 Jul '17, 20:36

sudip_95's gravatar image

4★sudip_95
7556
accept rate: 10%

Thankyou :) I'll make the desired changes.

(04 Jul '17, 20:41) singh_prishita2★
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:

×21

question asked: 04 Jul '17, 20:29

question was seen: 311 times

last updated: 04 Jul '17, 20:41