Could someone give me more test case?
How about the in/out below?
in:
5
1
2
3
0
0
3
1
1
1
3
0
0
0
0
out:
1 2 3
1 1 1
0
Moderator: Board moderators
5
-1
10
-5
10
1
1
1
8
2
1
-1
1
-5
1
2
0
9
1
1
1
0
-10
0
0
2
1
010 -5 10 1
1
2 1
2 1Each of the next N lines contains a single non-negative integer.
2
3 4
1
03_4_
<blank line>3_4
0
Users browsing this forum: Bing [Bot] and 0 guests