Borderou de evaluare (job #2731391)

Utilizator AlexCrpCarpineanu Alexandru AlexCrp Data 27 martie 2021 18:58:23
Problema Paranteze Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'int stiva::pop()': main.cpp:51:11: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] return NULL; ^~~~ main.cpp: In function 'int main()': main.cpp:94:13: warning: NULL used in arithmetic [-Wpointer-arith] if (p == NULL) ^~~~ main.cpp:98:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (p == '(' && paranteza == ')' || p == '[' && paranteza == ']' || p == '{' && paranteza == '}') ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:98:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (p == '(' && paranteza == ')' || p == '[' && paranteza == ']' || p == '{' && paranteza == '}') ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:73:22: warning: unused variable 'ok' [-Wunused-variable] bool corect = true, ok=true; ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
22ms131kbIncorect0
32ms131kbIncorect0
42ms131kbIncorect0
53ms131kbIncorect0
63ms131kbIncorect0
73ms131kbIncorect0
83ms131kbIncorect0
93ms131kbIncorect0
103ms131kbIncorect0
118ms131kbIncorect0
1214ms131kbIncorect0
1340ms131kbIncorect0
1481ms262kbIncorect0
15101ms393kbTime limit exceeded0
16100ms393kbTime limit exceeded0
17103ms524kbTime limit exceeded0
18101ms262kbTime limit exceeded0
19101ms393kbTime limit exceeded0
20101ms393kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?