Problem pascal
User Usu
Submission Time 2025-08-13 09:51:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pascal.cpp: In function ‘int main()’:
pascal.cpp:88:18: error: could not convert ‘1’ from ‘int’ to ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
88 | subtract(n_str, 1);
| ^
| |
| int
pascal.cpp:89:18: error: could not convert ‘1’ from ‘int’ to ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
89 | subtract(r_str, 1);
| ^
| |
| int