Borderou de evaluare (job #3315261)
| Utilizator | Data | 13 octombrie 2025 13:29:00 | |
|---|---|---|---|
| Problema | TreiD | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int maxsec(std::vector<int>&)':
main.cpp:52:17: error: 'INT_MIN' was not declared in this scope
52 | d2[1] = INT_MIN / 4;
| ^~~~~~~
main.cpp:11:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
10 | #include <vector>
+++ |+#include <climits>
11 | //#include <cstring>
main.cpp: In function 'int rezolvare(int, int)':
main.cpp:72:28: error: 'INT_MIN' was not declared in this scope
72 | int i, j, k, rez = INT_MIN;
| ^~~~~~~
main.cpp:72:28: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
main.cpp: In function 'int main()':
main.cpp:112:9: error: 'memset' was not declared in this scope
112 | memset(sp, 0, sizeof(sp));
| ^~~~~~
main.cpp:11:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
10 | #include <vector>
+++ |+#include <cstring>
11 | //#include <cstring>
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
