Borderou de evaluare (job #2790495)
Utilizator | Data | 29 octombrie 2021 10:03:36 | |
---|---|---|---|
Problema | Expresie2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int rotunda()':
main.cpp:41:22: error: 'INT_MIN' was not declared in this scope
41 | int suma, maxx = INT_MIN;
| ^~~~~~~
main.cpp:4:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #include <algorithm>
+++ |+#include <climits>
4 |
main.cpp:43:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | while ( poz_s < s.size() && s[poz_s] != ')' ) {
| ~~~~~~^~~~~~~~~~
main.cpp: In function 'int patrata()':
main.cpp:59:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | while ( poz_s < s.size() && s[poz_s] != ']' ) {
| ~~~~~~^~~~~~~~~~
main.cpp: In function 'int expresie()':
main.cpp:72:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | while ( poz_s < s.size() ) {
| ~~~~~~^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !