The problem content is generating two integers that the sum of them is 10. So, the problem has countless answer. Does SPOJ support multiple answer?
It can do, but would require a custom judge.