Borderou de evaluare (job #2921516)
| Utilizator | Data | 31 august 2022 14:52:14 | |
|---|---|---|---|
| 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 'void update(int, int, int, int, int, std::vector<int>&)':
main.cpp:8:9: error: 'assert' was not declared in this scope
8 | assert(l == r && l == p);
| ^~~~~~
main.cpp:3:1: note: 'assert' is defined in header '<cassert>'; did you forget to '#include <cassert>'?
2 | #include <vector>
+++ |+#include <cassert>
3 |
main.cpp: In function 'int getMax(int, int, int, int, int, std::vector<int>&)':
main.cpp:23:5: error: 'assert' was not declared in this scope
23 | assert(l <= r);
| ^~~~~~
main.cpp:23:5: note: 'assert' is defined in header '<cassert>'; did you forget to '#include <cassert>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
