input and output pattern

generally, should the output get printed after all the inputs of all the test cases are given., or the output of each test case can be printed immediately after each input?? Please help. Thanks.

Hey @swethajvn

Actually it does not matters because your output is saved in a file and that file is compared with actual solution file so you may choose any way…

Enjoy Coding… :slight_smile: