Borderou de evaluare (job #3040721)

Utilizator AswVwsACamburu Luca AswVwsA Data 30 martie 2023 12:40:23
Problema Anagrame Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 59

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:88:94: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 88 | if (fr[s[i] - 'a'] != 0 and f[s[i] - 'a'] + poz[s[i] - 'a'].size() - unde[i] == fr[s[i] - 'a']) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:98:70: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (; poz[j - 'a'][ind] < bound and ind < poz[j - 'a'].size(); ind++); | ~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:99:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 99 | for (; ind < poz[j - 'a'].size() and poz[j - 'a'][ind] < i and f[j - 'a'] < fr[j - 'a']; ind++) | ~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:102:37: warning: unused variable 'x' [-Wunused-variable] 102 | int x = poz[j - 'a'][ind]; | ^ main.cpp:96:33: warning: unused variable 'aux' [-Wunused-variable] 96 | int aux = poz[j - 'a'][ind]; | ^~~ main.cpp:97:34: warning: variable 'ok' set but not used [-Wunused-but-set-variable] 97 | bool ok = 0; | ^~ main.cpp:78:17: warning: unused variable 'off' [-Wunused-variable] 78 | int off = pos.back(); | ^~~ main.cpp: In function 'int cauta(int, int)': main.cpp:45:1: warning: control reaches end of non-void function [-Wreturn-type] 45 | } | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!3
20ms303kbOK!3
30ms303kbOK!3
40ms303kbOK!3
50ms303kbOK!3
60ms303kbOK!3
70ms303kbOK!3
80ms303kbOK!3
90ms303kbOK!3
100ms303kbOK!3
110ms303kbOK!2
120ms303kbOK!2
130ms303kbOK!2
140ms303kbWrong answer!0
150ms303kbWrong answer!0
160ms303kbWrong answer!0
171ms303kbWrong answer!0
181ms303kbWrong answer!0
195ms819kbWrong answer!0
202ms1462kbOK!3
214ms1081kbWrong answer!0
224ms1081kbWrong answer!0
234ms1081kbWrong answer!0
244ms1081kbWrong answer!0
254ms1081kbWrong answer!0
262ms1208kbOK!4
272ms1208kbOK!4
282ms1208kbOK!4
292ms1208kbOK!4
302ms1208kbOK!4
Punctaj total59

Ceva nu functioneaza?