Borderou de evaluare (job #3206078)

Utilizator xDemonstyMatei Haba Ionut xDemonsty Data 21 februarie 2024 16:58:10
Problema Spion Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void solve1()': main.cpp:13:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 13 | for (int i = 0 ; i < x.size(); i ++ ) | ~~^~~~~~~~~~ main.cpp: In function 'void solve2()': main.cpp:53:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 53 | for ( int i = 0 ; i < x.size(); i ++ ) | ~~^~~~~~~~~~ main.cpp:53:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 53 | for ( int i = 0 ; i < x.size(); i ++ ) | ^~~ main.cpp:57:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 57 | long long val1 = 1; | ^~~~ main.cpp:59:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 59 | for ( int i = 1; i <= x.size(); i ++ ) | ~~^~~~~~~~~~~ main.cpp:66:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 66 | for ( int i = 1; i <= x.size() - cnt1 ; i ++ ) | ~~^~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
31ms557kbIncorect0
41ms557kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
70ms303kbIncorect0
80ms303kbIncorect0
90ms303kbIncorect0
100ms303kbIncorect0
110ms303kbIncorect0
120ms303kbIncorect0
130ms303kbIncorect0
140ms303kbIncorect0
150ms303kbIncorect0
160ms557kbIncorect0
170ms557kbIncorect0
180ms557kbIncorect0
190ms557kbIncorect0
200ms557kbIncorect0
Punctaj total0

Ceva nu functioneaza?