Borderou de evaluare (job #2236385)
Utilizator | Data | 29 august 2018 13:43:58 | |
---|---|---|---|
Problema | Expresie2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int SolveType1(int)’:
user.cpp:17:18: error: ‘INT_MIN’ was not declared in this scope
int maxSum = INT_MIN, currentSum = INT_MIN;
^~~~~~~
user.cpp:20:12: error: ‘currentSum’ was not declared in this scope
if(currentSum < 0)
^~~~~~~~~~
user.cpp:25:30: error: ‘currentSum’ was not declared in this scope
maxSum = max(maxSum, currentSum);
^~~~~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !