Borderou de evaluare (job #2886945)
Utilizator | Data | 8 aprilie 2022 17:09:31 | |
---|---|---|---|
Problema | Connect the Tree | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:40:61: error: 'INT_MAX' was not declared in this scope
40 | cost[x] = std::uniform_int_distribution<int>(1, INT_MAX)(rng);
| ^~~~~~~
main.cpp:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <random>
+++ |+#include <climits>
3 | #include <vector>
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !