Borderou de evaluare (job #3004405)
Utilizator | Data | 16 martie 2023 12:15:20 | |
---|---|---|---|
Problema | Antivirus | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void backtrack(std::vector<int>, std::vector<int>, int, int, int, int, int, int&)':
main.cpp:24:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int i=0;i<nulla.size();i++){
| ~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:56:16: error: 'INT_MAX' was not declared in this scope
56 | miniar=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 | using namespace std;
main.cpp:57:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for(i=0;i<nulla.size();i++){
| ~^~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !