4 Respostas
+ 2
The first thing that i noticed is that you access to items-unallocated vector with digits[k] = n2 % 10; you have to do digits.push_back because you dont allocated the space for the items
20th Jul 2023, 8:48 PM
KrOW
KrOW - avatar
0
thanks, but it still doesn't work
22nd Jul 2023, 4:07 PM
marat
marat - avatar
13th Aug 2023, 5:32 AM
Jeremy Ed
Jeremy Ed - avatar
18th Aug 2023, 6:44 PM
Jeremy Ed
Jeremy Ed - avatar