Borderou de evaluare (job #2942127)
Utilizator | Data | 18 noiembrie 2022 23:31:09 | |
---|---|---|---|
Problema | Catun | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:20:10: warning: unused variable 'p' [-Wunused-variable]
20 | double p = pq.top().second;
| ^
main.cpp: In function 'int main()':
main.cpp:41:27: error: 'INT_MAX' was not declared in this scope
41 | minim = vector<int>(n+1, INT_MAX);
| ^~~~~~~
main.cpp:6:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
5 | #include <limits>
+++ |+#include <climits>
6 |
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !