Borderou de evaluare (job #3273357)
Utilizator | Data | 1 februarie 2025 19:39:34 | |
---|---|---|---|
Problema | Sediu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:16:12: error: 'INT_MAX' was not declared in this scope
16 | int mini = INT_MAX;
| ^~~~~~~
main.cpp:4:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #include <vector>
+++ |+#include <climits>
4 | //#include <bits/stdc++.h>
main.cpp: In function 'void dfs(int, int)':
main.cpp:22:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:51:5: error: 'sort' was not declared in this scope; did you mean 'short'?
51 | sort(sol.begin(), sol.end());
| ^~~~
| short
main.cpp:52:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for(int i = 0; i < sol.size(); i++) out << sol[i] << " ";
| ~~^~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !