Borderou de evaluare (job #1586304)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 31 ianuarie 2016 23:32:49
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘bool eval()’: user.cpp:34:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(ops.top()!='(' && pr[ops.top()]>=pr[op]){ ^ user.cpp:34:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(ops.top()!='(' && pr[ops.top()]>=pr[op]){ ^ user.cpp:53:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(ops.top()!='(' && pr[ops.top()]>=pr[op]){ ^ user.cpp:53:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(ops.top()!='(' && pr[ops.top()]>=pr[op]){ ^ user.cpp: In function ‘int main()’: user.cpp:77:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bool.in","r",stdin); ^ user.cpp:78:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bool.out","w",stdout); ^ user.cpp:86:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(str+1); ^ user.cpp:87:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(line); sscanf(line,"%d",&n); ^ user.cpp:88:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(line); ^ /tmp/cckLsbU1.o: In function `main': user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK10
20ms308kbOK10
30ms308kbOK10
40ms308kbOK10
50ms304kbOK10
60ms312kbIncorect0
70ms304kbOK10
80ms308kbOK10
90ms312kbIncorect0
100ms312kbOK10
Punctaj total80

Ceva nu functioneaza?