My soltion for BUGCAL
First I break the numbers into digits, add the digits from the end, store their sum in a vector, reverse the vector and display it.
It gets an AC for the first subtask. But for the second one, it’s a WA. But I have tried eg from the seconds which return the correct answer. But when I submit it gets a WA.
Can someone please point out my mistake!