Borderou de evaluare (job #3179987)
Utilizator | Data | 4 decembrie 2023 15:09:04 | |
---|---|---|---|
Problema | Retea2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:30:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int i = 0; i<blocuri.size();i++){
| ~^~~~~~~~~~~~~~~
main.cpp:31:19: error: 'INT_MAX' was not declared in this scope
31 | int Min = INT_MAX;
| ^~~~~~~
main.cpp:6:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
5 | #include <math.h>
+++ |+#include <climits>
6 | using namespace std;
main.cpp:39:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for(int i = 0; i<blocuri.size();i++){
| ~^~~~~~~~~~~~~~~
main.cpp:40:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int j= 0;j<blocuri.size();j++){
| ~^~~~~~~~~~~~~~~
main.cpp:46:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<float>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for(int i = 0 ;i<distante.size();i++)
| ~^~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !