Pagini recente » Borderou de evaluare (job #2083970) | Borderou de evaluare (job #3294758) | Borderou de evaluare (job #2690881) | Borderou de evaluare (job #3255723) | Borderou de evaluare (job #2511439)
Borderou de evaluare (job #2511439)
Raport evaluator
Compilare:
main.cpp: In member function 'bool ExpresionEvaluator::isVar(char)':
main.cpp:53:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return (c<='Z' && c>='A' || c=='1' || c=='0');
~~~~~~~^~~~~~~~~
main.cpp: In member function 'void ExpresionEvaluator::buildPostfix(char*)':
main.cpp:79:59: warning: array subscript has type 'char' [-Wchar-subscripts]
while(!s.empty() && priorities[s.top()]>=priorities[*p])
^
main.cpp:79:75: warning: array subscript has type 'char' [-Wchar-subscripts]
while(!s.empty() && priorities[s.top()]>=priorities[*p])
^
main.cpp: In member function 'int ExpresionEvaluator::getRes(int, int, char)':
main.cpp:49:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 6ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 5ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 7ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 |
9 | 4ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 80 |