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


Does the order of inputs/outputs in your code matter?

at first, I thought it should be input first and then output, but then I saw code that has input output input are both allowed ?

asked 01 Jun '18, 11:15

flaze07's gravatar image

accept rate: 21%

edited 09 Jun '18, 15:31

admin's gravatar image

0★admin ♦♦


Please use meaningful titles of your questions. I was about to flag this question, and to suspend you for 7 days, until I realized that your question was genuine. A better title of the same question would be "Does the order of inputs/outputs in your code matter?". Please also try to write your question in better language for the benefit of community.

(09 Jun '18, 15:31) admin ♦♦0★

wow, err, what was the title before ?

(10 Jun '18, 15:32) flaze072★

It was input input output output or input output input output

(10 Jun '18, 16:07) vijju123 ♦♦5★

Codechef has edit history of question. Click on edited yesterday

(10 Jun '18, 20:20) aryanc4035★

ah, I didn't know that, thank you, well, now that I see it, yeah, the original title was indeed stupid, I couldn't think of how to ask it other than that way though

(10 Jun '18, 21:30) flaze072★

Yes surely... Only OUTPUT will also work if u know the inputs :D

Outputs are always made on another file so whatever u do with inputs doesn't matter...

I have answered some questions without taking whole inputs XD

So feel free to mix Outputs and inputs as u like....


answered 01 Jun '18, 11:33

l_returns's gravatar image

accept rate: 24%

1 that's that, really helpful you know,, answering question without taking whole inputs ? , now that's amazing

(01 Jun '18, 13:02) flaze072★

yeah did that In an "challenge question"...
printed a random number in range and got 10 points :D

(08 Jun '18, 19:35) l_returns5★
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: 01 Jun '18, 11:15

question was seen: 161 times

last updated: 10 Jun '18, 21:30