Problem sumint
User AdwinLau
Submission Time 2024-11-26 12:34:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:19:14: error: expected primary-expression before ‘)’ token
19 | for (i < d;){
| ^
sumint.cpp:19:14: error: expected ‘;’ before ‘)’ token
19 | for (i < d;){
| ^
| ;
sumint.cpp:23:9: error: invalid conversion from ‘char*’ to ‘long long int’ [-fpermissive]
23 | s= s + input;
| ~~^~~~~~~
| |
| char*