
"Summation" means "The arithmetic operation of summing; calculating the sum of two or more numbers."Problem description says "The original summation contained no leading zeros in the numbers"
So, the quoted line must have meant all the n numbers involved in the summation process can't have a leading zero for it to be a valid solution. Also, the word "numbers" certainly doesn't mean a single number.
After writing a solution following that constraint I kept getting WA then using assert() I found that my solution couldn't find any solution for some inputs in judge data so I started experimenting and lastly got AC after changing that constraint to hold only for the result of the summation, i.e. if only the summation result has no leading zero then I considered that to be a valid solution not caring whether the first n-1 numbers that are to be added has any leading zero or not.
Someone who got AC can you please verify whether it is really the case or may be I've made some mistake somewhere in coding or understanding.
thanks in advance...
