Borderou de evaluare (job #2436857)

Utilizator PatrickCplusplusPatrick Ondreovici PatrickCplusplus Data 7 iulie 2019 14:06:19
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'bool eval3()': main.cpp:84:26: warning: array subscript has type 'char' [-Wchar-subscripts] r = !val[s[p]]; ^ main.cpp:88:25: warning: array subscript has type 'char' [-Wchar-subscripts] r = val[s[p]]; ^ main.cpp: In function 'int main()': main.cpp:143:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < str.size(); ++i) ~~^~~~~~~~~~~~ main.cpp: In function 'bool eval3()': main.cpp:92:12: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] return r; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbIncorect0
32ms131kbIncorect0
42ms131kbIncorect0
52ms131kbIncorect0
62ms131kbIncorect0
72ms131kbOK10
82ms131kbOK10
92ms131kbOK10
103ms131kbOK10
Punctaj total50

Ceva nu functioneaza?