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

Compile Error

veryeasymath.cpp:4:9: error: ‘Num’ does not name a type
4 | typedef Num string;
| ^~~
veryeasymath.cpp:11:14: error: ‘Num’ was not declared in this scope
11 | string add_1(Num x) {
| ^~~
veryeasymath.cpp:11:21: error: expected ‘,’ or ‘;’ before ‘{’ token
11 | string add_1(Num x) {
| ^
veryeasymath.cpp: In function ‘int main()’:
veryeasymath.cpp:31:44: error: ‘null’ was not declared in this scope
31 | ios_base::sync_with_stdio(false); cin.tie(null);
| ^~~~
veryeasymath.cpp:36:18: error: no match for call to ‘(std::string {aka std::__cxx11::basic_string<char>}) (std::string&)’
36 | cout << add_1(x) << " ";
| ^