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


How do I take inputs in my program??via files or terminal??

I just want to know how should i take inputs in my program?? If through files??What will be the file name??

asked 18 Nov '12, 23:48

abhay3somani13's gravatar image

accept rate: 0%

Please read FAQ.

Codechef will run your program on each of the input files by redirecting the standard input stream to an input file, and the standard output stream to another file. The output generated by your program must match the correct output exactly in order to be judged correct.


answered 19 Nov '12, 04:43

betlista's gravatar image

3★betlista ♦♦
accept rate: 11%

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: 18 Nov '12, 23:48

question was seen: 1,059 times

last updated: 19 Nov '12, 04:43