Borderou de evaluare (job #3325973)
| Utilizator | Data | 27 noiembrie 2025 03:28:53 | |
|---|---|---|---|
| Problema | Catun | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'auto dijkstra(int, std::vector<int>&, std::vector<std::vector<std::pair<int, int> > >&)':
main.cpp:13:24: error: 'INT_MAX' was not declared in this scope
13 | vector<int> d(n+1, INT_MAX);
| ^~~~~~~
main.cpp:6:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
5 | #include <fstream>
+++ |+#include <climits>
6 | using namespace std;
main.cpp:17:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for (int i = 0; i < k.size(); i++) {
| ~~^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
