Problem sumint
User alettuce
Submission Time 2024-03-23 14:00:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int32_t main()’:
sumint.cpp:8:2: error: expected initializer before ‘cin’
8 | cin >> d;
| ^~~
sumint.cpp:10:10: error: ‘x’ was not declared in this scope
10 | cin >> x;
| ^
sumint.cpp:14:10: error: expected ‘;’ before ‘}’ token
14 | return 0
| ^
| ;
15 | }
| ~