| Problem | sumint |
|---|---|
| User | Jovan67 |
| Submission Time | 2026-04-01 20:57:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sumint.cpp:1:1: error: ‘include’ does not name a type
1 | include <iostream>
| ^~~~~~~
sumint.cpp:5:11: error: expected initializer before ‘sum’
5 | int total sum = 0;
| ^~~
sumint.cpp:7:6: error: ‘cin’ in namespace ‘std’ does not name a type
7 | std::cin > d;
| ^~~
sumint.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | include <iostream>
sumint.cpp:9:1: error: expected unqualified-id before ‘for’
9 | for(int i = 0; i < d; i++;){
| ^~~
sumint.cpp:9:16: error: ‘i’ does not name a type
9 | for(int i = 0; i < d; i++;){
| ^
sumint.cpp:9:23: error: ‘i’ does not name a type
9 | for(int i = 0; i < d; i++;){
| ^
sumint.cpp:9:27: error: expected unqualified-id before ‘)’ token
9 | for(i