eolymp
bolt
Try our new interface for solving problems
Problems

Same Sum Subsequences

Same Sum Subsequences

Statement for this problem is only available as a file.
Time limit 0.6 seconds
Memory limit 512 MiB
Input example #1
5
2 3 3 2 3
3
4 5 5
Output example #1
2
2 3 
1
2