Problem sumint
User WangZhenxuan
Submission Time 2025-06-17 16:48:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:5:9: error: ‘base’ has not been declared
5 | ios base::sync_with_studio(0);
| ^~~~
sumint.cpp:5:31: error: qualified-id in declaration before ‘(’ token
5 | ios base::sync_with_studio(0);
| ^
sumint.cpp:6:12: error: expected ‘;’ before ‘int’
6 | cin.tie(0)
| ^
| ;
7 |
8 | int d;
| ~~~
sumint.cpp:9:12: error: ‘d’ was not declared in this scope
9 | cin >> d;
| ^