Pagini recente » Cod sursa (job #1476907) | Cod sursa (job #1870596) | Cod sursa (job #205754) | Cod sursa (job #2397326) | Borderou de evaluare (job #2512212)
Borderou de evaluare (job #2512212)
Raport evaluator
Compilare:
main.cpp: In member function 'void Function::buildPostfix(char*&)':
main.cpp:86:71: warning: array subscript has type 'char' [-Wchar-subscripts]
while(!s.empty() && priorities[s.top()]>=priorities[*p] && s.top()!=*p)
^
main.cpp: In member function 'long int Function::getRes(long int*, char)':
main.cpp:118:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:162:23: warning: array subscript is above array bounds [-Warray-bounds]
priorities['~']=3;
~~~~~~~~~~~~~~^
main.cpp:168:18: warning: array subscript is above array bounds [-Warray-bounds]
arity['~']=1;
~~~~~~~~~^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 393kb | Incorect | 0 |
| 2 | 4ms | 393kb | Incorect | 0 |
| 3 | 3ms | 393kb | Incorect | 0 |
| 4 | 3ms | 393kb | Incorect | 0 |
| 5 | 4ms | 393kb | Incorect | 0 |
| 6 | 3ms | 393kb | Incorect | 0 |
| 7 | 4ms | 393kb | Incorect | 0 |
| 8 | 4ms | 393kb | Incorect | 0 |
| 9 | 3ms | 393kb | Incorect | 0 |
| 10 | 4ms | 393kb | Incorect | 0 |
| Punctaj total | 0 |