Still WA.
Your output is exactly same with mine, except for first line of each case. You print the equation twice before the process. Isn't that right ? I have checked with the problem, and there is only one equation to be printed before processing.
And I want to ask whether is it possible that the variable can be at left side ? example : abcde = 1+2 + 3+4
Dominik, what kind of variable did you use to store the result ("long" or "long long") ?
Because I use Pascal as my language, there's no variable like long long in Pascal.
If you use "long long", please submit it again with "long" variable in result. Still Accepted ?
Regards,
angga888