Problem | veryeasymath |
---|---|
User | jmuzhen |
Submission Time | 2024-11-07 18:22:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
veryeasymath.cpp: In function ‘std::string add_1(std::string)’:
veryeasymath.cpp:15:13: error: expected ‘;’ before ‘}’ token
15 | {c, carry} = add_1_digit(x[i]);
| ^
| ;
veryeasymath.cpp:15:15: error: expected primary-expression before ‘=’ token
15 | {c, carry} = add_1_digit(x[i]);
| ^
veryeasymath.cpp:18:12: error: expected ‘;’ before ‘}’ token
18 | {c, carry} = add_1_digit(x[i]); x[i] = c;
| ^
| ;
veryeasymath.cpp:18:14: error: expected primary-expression before ‘=’ token
18 | {c, carry} = add_1_digit(x[i]); x[i] = 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);
| ^~~~