Borderou de evaluare (job #3321809)
| Utilizator | Data | 11 noiembrie 2025 13:24:26 | |
|---|---|---|---|
| Problema | Arbore partial de cost minim | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:8:17: error: 'INT_MAX' was not declared in this scope
8 | const int INF = INT_MAX;
| ^~~~~~~
main.cpp:5:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
4 | #include <queue>
+++ |+#include <climits>
5 | using namespace std;
main.cpp: In function 'int main()':
main.cpp:34:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
34 | if(used[nod])
| ^~
main.cpp:36:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
36 | used[nod]=true;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
