Borderou de evaluare (job #1818449)

Utilizator ioanadragomirIoana Dragomir ioanadragomir Data 29 noiembrie 2016 11:40:09
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool expresie()’: user.cpp:19:17: warning: the address of ‘bool termen()’ will always evaluate as ‘true’ [-Waddress] v1=(v1||termen); ^ user.cpp: In function ‘bool termen()’: user.cpp:30:17: warning: the address of ‘bool factor()’ will always evaluate as ‘true’ [-Waddress] v2=(v2&&factor); ^ user.cpp: In function ‘int main()’: user.cpp:60: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:61: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:62:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:63:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:64:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(op); ^ /tmp/ccMoUlA3.o: In function `main': user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms428kbIncorect0
20ms424kbIncorect0
30ms424kbIncorect0
40ms424kbIncorect0
50ms420kbIncorect0
60ms424kbIncorect0
70ms428kbIncorect0
80ms424kbIncorect0
90ms428kbIncorect0
100ms428kbIncorect0
Punctaj total0

Ceva nu functioneaza?