Borderou de evaluare (job #1394870)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 20 martie 2015 19:38:48
Problema Bifo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void Query()’: user.cpp:72:15: warning: unused variable ‘t’ [-Wunused-variable] int k, i, t, len; ^ user.cpp:73:10: warning: unused variable ‘ok’ [-Wunused-variable] bool ok; ^ user.cpp: In function ‘void Read_and_Set()’: user.cpp:15:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S1); gets(S2); ^ user.cpp:15:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S1); gets(S2); ^ user.cpp: In function ‘void Query()’: user.cpp:75:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(Q); len = strlen(Q); //printf("%s ",Q); ^ user.cpp: In function ‘int main()’: user.cpp:125:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &m); ^ /tmp/ccfadIRY.o: In function `Read_and_Set()': user.cpp:(.text+0x17): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms488kbOK10
20ms484kbIncorect0
30ms484kbIncorect0
40ms480kbIncorect0
50ms484kbIncorect0
60ms488kbIncorect0
70ms488kbIncorect0
80ms484kbOK10
90ms476kbIncorect0
100ms484kbOK10
Punctaj total30

Ceva nu functioneaza?