Borderou de evaluare (job #978779)

Utilizator petrutsxMihaela Petruta Gaman petrutsx Data 29 iulie 2013 18:00:01
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void polish_form()’: user.cpp:49:19: warning: unused variable ‘aux2’ [-Wunused-variable] struct Elem aux, aux2, vf; ^ user.cpp: In function ‘void evaluate()’: user.cpp:112:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < vpol.size() - 1; i++){ ^ user.cpp:111:16: warning: unused variable ‘op’ [-Wunused-variable] int op1, op2, op; ^ user.cpp: In function ‘int main()’: user.cpp:151:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(pg, "%d", result); ^ user.cpp:143:6: warning: unused variable ‘i’ [-Wunused-variable] int i; ^ user.cpp: In function ‘int priority(char)’: user.cpp:29:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int integer(char)’: user.cpp:38:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void polish_form()’: user.cpp:99:21: warning: ‘vf.Elem::info’ may be used uninitialized in this function [-Wmaybe-uninitialized] while(!stk.empty() && vf.info != '('){ ^ user.cpp:86:25: warning: ‘vf.Elem::prio’ may be used uninitialized in this function [-Wmaybe-uninitialized] while(!stk.empty() && vf.prio >= aux.prio){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbOK10
2Depăşit8516kbTime limit exceeded.0
30ms236kbOK10
40ms236kbOK10
5Depăşit8520kbTime limit exceeded.0
60ms236kbOK10
7Depăşit8516kbTime limit exceeded.0
8Depăşit8524kbTime limit exceeded.0
98ms672kbOK10
108ms672kbIncorect0
Punctaj total50

Ceva nu functioneaza?