Borderou de evaluare (job #776194)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Habarnam (clasele 11-12) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 apr. 2024 12:53:39 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int maxSubarraySum(const std::vector<int>&)':
main.cpp:10:20: error: 'INT_MIN' was not declared in this scope
10 | int maxSoFar = INT_MIN;
| ^~~~~~~
main.cpp:5:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
4 | #include <fstream>
+++ |+#include <climits>
5 |