Problem veryeasymath
User jmuzhen
Submission Time 2024-11-07 18:23:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

veryeasymath.cpp: In function ‘std::string add_1(std::string)’:
veryeasymath.cpp:18:9: error: conflicting declaration ‘auto c’
18 | auto [c, carry] = add_1_digit(x[i]); x[i] = c;
| ^
veryeasymath.cpp:13:8: note: previous declaration as ‘char c’
13 | char c;
| ^