Borderou de evaluare (job #2724407)

Utilizator AlexToveAlexandru Toader AlexTove Data 16 martie 2021 23:52:56
Problema Paranteze Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int findMaxLen(std::__cxx11::string)': main.cpp:14:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < str.length(); i++) ~~^~~~~~~~~~~~~~ main.cpp:20:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (str[stack.top()] == '(' && str[i] == ')' || str[stack.top()] == '[' && str[i] == ']' || str[stack.top()] == '{' && str[i] == '}') main.cpp:20:129: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (str[stack.top()] == '(' && str[i] == ')' || str[stack.top()] == '[' && str[i] == ']' || str[stack.top()] == '{' && str[i] == '}')
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
22ms131kbIncorect0
32ms131kbOK5
42ms131kbOK5
52ms131kbIncorect0
62ms131kbIncorect0
72ms131kbIncorect0
82ms131kbIncorect0
92ms131kbIncorect0
103ms131kbIncorect0
113ms131kbIncorect0
123ms262kbOK5
135ms524kbOK5
148ms798kbOK5
1521ms1994kbIncorect0
1625ms2387kbOK5
1727ms2519kbOK5
1831ms3043kbOK5
1933ms3436kbOK5
2034ms3567kbOK5
Punctaj total50

Ceva nu functioneaza?