Pagini recente » Borderou de evaluare (job #155543) | Borderou de evaluare (job #2600653) | Cod sursa (job #2021925) | Borderou de evaluare (job #1359749) | Borderou de evaluare (job #2511436)
Borderou de evaluare (job #2511436)
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 | 3ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | Incorect | 0 |
| 3 | 3ms | 131kb | Incorect | 0 |
| 4 | 3ms | 131kb | Incorect | 0 |
| 5 | 4ms | 131kb | OK | 10 |
| 6 | 3ms | 131kb | Incorect | 0 |
| 7 | 3ms | 131kb | OK | 10 |
| 8 | 3ms | 131kb | OK | 10 |
| 9 | 2ms | 131kb | Incorect | 0 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 50 |