Problem veryeasymath
User jmuzhen
Submission Time 2024-11-07 18:22:59
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;
| ^
veryeasymath.cpp: In function ‘int main()’:
veryeasymath.cpp:29:44: error: ‘null’ was not declared in this scope
29 | ios_base::sync_with_stdio(false); cin.tie(null);
| ^~~~