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

Compile Error

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