0

I want to separate the input and the output this is MY CONSOLE and I want Like this WANTED OR in seperate files

1 Answers1

1

You can store your answers in a container (vector, array, etc) and print all of them when no new inputs are expected.

Keep in mind that in competitive programming, most of the times the judge doesn't care when you produce your output, unless specifically said so.

Roozbeh Sayadi
  • 318
  • 2
  • 13
  • 1
    No I don't want to make vector or array because it is not easy to make like that I know that the jude doesn't car about the seperation of input and output but I want seperate them because if input is bit large I can't seperate them by my eye and the input and the output be mixed. – Ahmed Magdy Dec 07 '21 at 14:02
  • 1
    Seems like [this answer](https://stackoverflow.com/a/21709463/12073317) is what you're looking for. You can put your inputs in a file too, using `<` instead of `>`. – Roozbeh Sayadi Dec 07 '21 at 14:26