Borderou de evaluare (job #2296126)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 4 decembrie 2018 13:57:33
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:15:22: warning: array subscript has type 'char' [-Wchar-subscripts] mp[(char)s[i]] ++ ; ^ main.cpp:21:28: warning: array subscript has type 'char' [-Wchar-subscripts] if ((mp[(char)j] > 0 && j != Previous && Good == true) || (mp[(char)j] >= (len - i) / 2 + 1 && j != Previous)) { ^ main.cpp:21:82: warning: array subscript has type 'char' [-Wchar-subscripts] if ((mp[(char)j] > 0 && j != Previous && Good == true) || (mp[(char)j] >= (len - i) / 2 + 1 && j != Previous)) { ^ main.cpp:26:21: warning: array subscript has type 'char' [-Wchar-subscripts] mp[(char)Ans] -- ; ^ main.cpp:21:28: warning: iteration 23 invokes undefined behavior [-Waggressive-loop-optimizations] if ((mp[(char)j] > 0 && j != Previous && Good == true) || (mp[(char)j] >= (len - i) / 2 + 1 && j != Previous)) { ~~~~~~~~~~^ main.cpp:20:26: note: within this loop for (j = 'a' ; j <= 'z' ; ++ j) { ~~^~~~~~ main.cpp:13:10: warning: 'Ans' may be used uninitialized in this function [-Wmaybe-uninitialized] char Ans, Previous(0) ; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms262kbKilled by Signal 110
26ms262kbKilled by Signal 110
36ms262kbKilled by Signal 110
49ms262kbKilled by Signal 110
526ms524kbKilled by Signal 110
657ms913kbKilled by Signal 110
784ms1044kbKilled by Signal 110
8135ms1699kbKilled by Signal 110
9214ms2093kbKilled by Signal 110
10139ms1306kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?