Problem add1
User PlayVoltz
Submission Time 2024-09-17 22:47:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

add1.cpp: In function ‘int main()’:
add1.cpp:58:21: error: ‘eval’ was not declared in this scope
58 | cout << int(eval("(" + regex_replace(a, regex("\\["), "complex(") + ").real")) + 1) << endl;
| ^~~~
add1.cpp:60:21: error: ‘eval’ was not declared in this scope
60 | cout << int(eval(a)) + 1 << endl;
| ^~~~