compilebox icon indicating copy to clipboard operation
compilebox copied to clipboard

implementation of Multiple test case input

Open cybermritunjay opened this issue 7 years ago • 0 comments

i want to add a functionality to compile the code against multiple test cases. any ideas how can i do so. example: i have a python code def simpleArraySum(n,ar): s = 0 for i in ar: s += i return s n = int(raw_input().strip()) ar = map(int, raw_input().strip().split(' ')) result = simpleArraySum(n,ar) print(result)

i want to test it against more then one inputs i.e. 6\n1 2 3 4 5 6 and 5\n5 6 9 8 7

cybermritunjay avatar Jun 16 '18 22:06 cybermritunjay