Borderou de evaluare (job #2296123)

Utilizator Moise_AndreiMoise Andrei Moise_Andrei Data 4 decembrie 2018 13:55:18
Problema Ordine Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:16: warning: array subscript has type 'char' [-Wchar-subscripts] fr[s[i]] ++ ; ^ main.cpp:23:22: warning: array subscript has type 'char' [-Wchar-subscripts] if ((fr[j] > 0 && j != Previous && Good == true) || (fr[j] >= (len - i) / 2 + 1 && j != Previous)) { ^ main.cpp:23:70: warning: array subscript has type 'char' [-Wchar-subscripts] if ((fr[j] > 0 && j != Previous && Good == true) || (fr[j] >= (len - i) / 2 + 1 && j != Previous)) { ^ main.cpp:28:15: warning: array subscript has type 'char' [-Wchar-subscripts] fr[Ans] -- ; ^ main.cpp:23:22: warning: array subscript is above array bounds [-Warray-bounds] if ((fr[j] > 0 && j != Previous && Good == true) || (fr[j] >= (len - i) / 2 + 1 && j != Previous)) { ~~~~^ main.cpp:28:15: warning: array subscript is above array bounds [-Warray-bounds] fr[Ans] -- ; ~~~~~~^ main.cpp:28:15: warning: array subscript is above array bounds [-Warray-bounds] main.cpp:15:10: warning: 'Ans' may be used uninitialized in this function [-Wmaybe-uninitialized] char Ans, Previous(0) ; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
23ms131kbKilled by Signal 110
37ms131kbKilled by Signal 110
47ms262kbKilled by Signal 110
58ms393kbKilled by Signal 110
69ms782kbKilled by Signal 110
712ms782kbKilled by Signal 110
815ms1306kbKilled by Signal 110
917ms1306kbKilled by Signal 110
10120ms1306kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?