Borderou de evaluare (job #1426812)

Utilizator GilgodRobert B Gilgod Data 30 aprilie 2015 18:23:53
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:138:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d \n", treeEval(expressionTree)); ^ user.cpp: In function ‘long int treeEval(node*)’: user.cpp:54:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void readData()’: user.cpp:42:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(expr); ^ /tmp/cc3dcP8q.o: In function `main': user.cpp:(.text.startup+0x3b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms416kbOK10
20ms416kbOK10
30ms416kbOK10
40ms424kbOK10
50ms420kbOK10
60ms420kbOK10
70ms476kbOK10
80ms528kbOK10
98ms1772kbOK10
108ms2156kbOK10
Punctaj total100

Ceva nu functioneaza?