Borderou de evaluare (job #3232578)
Utilizator | Data | 31 mai 2024 02:51:35 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int query(int, int, int, int, int)':
main.cpp:48:20: error: 'INT_MIN' was not declared in this scope
48 | int left_ans = INT_MIN, right_ans = INT_MIN;
| ^~~~~~~
main.cpp:3:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <fstream>
+++ |+#include <climits>
3 | using namespace std;
main.cpp:54:9: error: 'right_ans' was not declared in this scope
54 | right_ans = query(2 * node + 1, mid + 1, ri, x, y);
| ^~~~~~~~~
main.cpp:57:26: error: 'right_ans' was not declared in this scope
57 | return max(left_ans, right_ans);
| ^~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !