Borderou de evaluare (job #3275061)
Utilizator | Data | 9 februarie 2025 10:22:32 | |
---|---|---|---|
Problema | Subsecventa de suma maxima | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:19: error: 'INT_MIN' was not declared in this scope
9 | int s, n, x, ma = INT_MIN, start = 1, stop = 1, inter = 1;
| ^~~~~~~
main.cpp:3:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <fstream>
+++ |+#include <climits>
3 |
main.cpp: In function 'int main()':
main.cpp:21:13: error: 'start' was not declared in this scope
21 | start = inter;
| ^~~~~
main.cpp:21:21: error: 'inter' was not declared in this scope; did you mean 'int'?
21 | start = inter;
| ^~~~~
| int
main.cpp:23:13: error: 'stop' was not declared in this scope
23 | stop = i;
| ^~~~
main.cpp:29:13: error: 'inter' was not declared in this scope; did you mean 'int'?
29 | inter = i + 1;
| ^~~~~
| int
main.cpp:33:25: error: 'start' was not declared in this scope
33 | out << ma << " " << start << " " << stop;
| ^~~~~
main.cpp:33:41: error: 'stop' was not declared in this scope
33 | out << ma << " " << start << " " << stop;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !