Problem sumint
User HuaXTing
Submission Time 2026-11-20 15:13:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include >bits/stdc++.h>
| ^
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:5: error: ‘cin’ was not declared in this scope
7 | cin >> d;
| ^~~
sumint.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include >bits/stdc++.h>
sumint.cpp:15:5: error: ‘cout’ was not declared in this scope
15 | cout << x;
| ^~~~
sumint.cpp:15:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?