Borderou de evaluare (job #2361512)

Utilizator StanCatalinStanCatalin StanCatalin Data 2 martie 2019 16:30:07
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int Evalueaza()': main.cpp:45:20: warning: NULL used in arithmetic [-Wpointer-arith] while (a[i] != NULL) ^~~~ main.cpp:61:34: warning: array subscript has type 'char' [-Wchar-subscripts] vals.push(valori[a[i]]); ^ main.cpp: In function 'int main()': main.cpp:141:20: warning: NULL used in arithmetic [-Wpointer-arith] while (s[i] != NULL) ^~~~ main.cpp:162:24: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] c[++top] = NULL; ^~~~ main.cpp:153:17: warning: variable 'ok' set but not used [-Wunused-but-set-variable] int ok = 0; ^~ main.cpp:195:15: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] a[++vf] = NULL; ^~~~ main.cpp:198:21: warning: array subscript has type 'char' [-Wchar-subscripts] valori[nr[k]] = !valori[nr[k]]; ^ main.cpp:198:38: warning: array subscript has type 'char' [-Wchar-subscripts] valori[nr[k]] = !valori[nr[k]]; ^ main.cpp: In function 'int GetPriority(char)': main.cpp:27:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int GetValue(bool, bool, char)': main.cpp:38:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
53ms131kbOK10
63ms131kbIncorect0
73ms131kbOK10
83ms131kbOK10
93ms131kbIncorect0
103ms131kbOK10
Punctaj total80

Ceva nu functioneaza?