1 / 3
Dec 2010

are we supposed to read input from a text file...if yes is there a convention for the file name (or are the inputs supposed to be supplied at runtime)..are there any conventions that we need to know beforehand (related to spoj)?

  • created

    Dec '10
  • last reply

    Dec '10
  • 2

    replies

  • 277

    views

  • 2

    users

  • 1

    link

Regarding Life, Universe and.......problem
are we supposed to read input from a text file...if yes is there a convention for the name..if no..then
do we have to first read all the inputs given and then print the output...if yes..how do we determine the end of input...i mean there is no termination symbol or number mentioned....and if
we are supposed to read one input and print output and repeat the same until we encounter 42 then how come we get 99 in ample input because we should stop as soon as we get 42.....please answer me...i am new to spoj and do not know conventions that might be followed here..

Suggested Topics

Want to read more? Browse other topics in Off-topic or view latest topics.