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

×

test cases

sir, in many programs i have seen. if there is a tc variable which is nothing but test cases and the next line has some input. if the test cases value is 1 then the compiler is directly inputing the input value rather the test case value first and this is giving me wrong output.

asked 14 Sep, 08:43

saidrishya's gravatar image

0★saidrishya
1
accept rate: 0%

I haven't experienced this. Can you give one or two examples of problems in which you have seen this? I don't see any submitted problems on your profile so I can't guess which you are talking about.

(14 Sep, 08:51) joffan5★
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:

×115

question asked: 14 Sep, 08:43

question was seen: 49 times

last updated: 14 Sep, 08:51