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


PCJ18A code goes wrong

Hello, My code with ID 19781133 for PCJ18A is showing wrong, can anyone please help me find out the problem?

asked 19 Aug '18, 12:35

shivam_sarda's gravatar image

accept rate: 0%

You are breaking out of the input loop and thus not completing the input for the current test case. This will result in the input of the current test case to be transferred to the next one, leading to a wrong answer.


answered 19 Aug '18, 13:47

prakhar17252's gravatar image

accept rate: 6%

I did not understand, as I debugged it did not break out of the input loop and it did complete the input for the ongoing case. Can you please type the correction in the same piece of code? Thanks for the help.

(24 Aug '18, 01:21) shivam_sarda1★
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 19 Aug '18, 12:35

question was seen: 65 times

last updated: 19 Aug '18, 13:47