Problem sumint
User Skyblur7
Submission Time 2024-02-22 09:26:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin>>d;
| ^~~
sumint.cpp:4:2: error: ‘cout’ was not declared in this scope
4 | cout<<d;
| ^~~~
sumint.cpp:5:11: error: expected primary-expression before ‘=’ token
5 | for (;d!==1;){
| ^