Problem | sumsumdigit |
---|---|
User | CKCodeBreaker55 |
Submission Time | 2024-12-12 14:10:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumsumdigit.cpp:5:1: error: ‘cpp_int’ does not name a type; did you mean ‘u_int’?
5 | cpp_int sumOfDigits(cpp_int num) {
| ^~~~~~~
| u_int
sumsumdigit.cpp:14:1: error: ‘cpp_int’ does not name a type; did you mean ‘u_int’?
14 | cpp_int digitSumUpto(cpp_int num) {
| ^~~~~~~
| u_int
sumsumdigit.cpp: In function ‘int main()’:
sumsumdigit.cpp:24:9: error: ‘cpp_int’ was not declared in this scope; did you mean ‘u_int’?
24 | cpp_int n;
| ^~~~~~~
| u_int
sumsumdigit.cpp:25:16: error: ‘n’ was not declared in this scope
25 | cin >> n;
| ^
sumsumdigit.cpp:26:17: error: ‘digitSumUpto’ was not declared in this scope
26 | cout << digitSumUpto(n) << "\n";
| ^~~~~~~~~~~~