Borderou de evaluare (job #3173288)
Utilizator | Data | 22 noiembrie 2023 13:24:44 | |
---|---|---|---|
Problema | Nrpits | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void countPits()':
main.cpp:13:26: error: 'INT_MAX' was not declared in this scope
13 | decreasingStack.push(INT_MAX); // Sentinel value to initialize the stack
| ^~~~~~~
main.cpp:4:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #include <stack>
+++ |+#include <climits>
4 |
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !