Pagini recente » Borderou de evaluare (job #605795) | Borderou de evaluare (job #2395864) | Borderou de evaluare (job #3244391) | Borderou de evaluare (job #387964) | Borderou de evaluare (job #2984287)
Borderou de evaluare (job #2984287)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:83:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for(;k < s.length() && s[k] == ' '; ++k);
| ~~^~~~~~~~~~~~
main.cpp:85:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
85 | while(k < s.length())
| ~~^~~~~~~~~~~~
main.cpp:88:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | while(k < s.length() && s[k] != ' ')
| ~~^~~~~~~~~~~~
main.cpp:95:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
95 | while(k < s.length() && (s[k] == ' ') || (s[k] == '\n'))
| ~~^~~~~~~~~~~~
main.cpp:95:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
95 | while(k < s.length() && (s[k] == ' ') || (s[k] == '\n'))
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
main.cpp:113:9: warning: unused variable 'maxflow' [-Wunused-variable]
113 | int maxflow = MaxFlow(0,n+m+1);
| ^~~~~~~
main.cpp: In function 'int MaxFlow(int, int)':
main.cpp:66:25: warning: 'ncor' may be used uninitialized [-Wmaybe-uninitialized]
66 | ans[mcor-n] = ncor;
| ~~~~~~~~~~~~^~~~~~
main.cpp:55:23: note: 'ncor' was declared here
55 | int mcor, ncor;
| ^~~~
main.cpp:66:21: warning: 'mcor' may be used uninitialized [-Wmaybe-uninitialized]
66 | ans[mcor-n] = ncor;
| ~~~~^~
main.cpp:55:17: note: 'mcor' was declared here
55 | int mcor, ncor;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 172kb | S-a respectat legea! | 10 |
2 | 0ms | 303kb | S-a respectat legea! | 10 |
3 | 0ms | 303kb | Incorect! | 0 |
4 | 0ms | 303kb | Incorect! | 0 |
5 | 1ms | 434kb | Incorect! | 0 |
6 | 1ms | 450kb | Incorect! | 0 |
7 | 3ms | 520kb | Incorect! | 0 |
8 | 2ms | 520kb | Incorect! | 0 |
9 | 0ms | 172kb | S-a respectat legea! | 10 |
10 | 1ms | 434kb | Incorect! | 0 |
Punctaj total | 30 |