Borderou de evaluare (job #2512206)

Utilizator hunting_dogIrimia Alex hunting_dog Data 20 decembrie 2019 18:36:55
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

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
19ms524kbKilled by Signal 110
212ms524kbKilled by Signal 110
37ms524kbKilled by Signal 110
412ms524kbKilled by Signal 110
513ms524kbKilled by Signal 110
67ms524kbKilled by Signal 110
79ms524kbKilled by Signal 110
89ms524kbKilled by Signal 110
98ms524kbKilled by Signal 110
1012ms524kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?