Borderou de evaluare (job #1716930)

Utilizator moise_alexandruMoise Alexandru moise_alexandru Data 13 iunie 2016 22:50:36
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void parsare()’: user.cpp:41:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(T); ^ user.cpp:45:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(T); ^ user.cpp: In function ‘int main()’: user.cpp:67:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.in", "r", stdin); ^ user.cpp:68:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.out", "w", stdout); ^ user.cpp:69:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:76:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ /tmp/ccoZJ0vX.o: In function `parsare()': user.cpp:(.text+0x18): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms440kbOK1010
20ms440kbOK1010
30ms440kbOK1010
44ms452kbOK1010
520ms552kbOK100
64ms696kbKilled by signal 6(SIGABRT).0
74ms692kbKilled by signal 6(SIGABRT).00
84ms700kbKilled by signal 6(SIGABRT).0
94ms696kbKilled by signal 6(SIGABRT).0
104ms696kbKilled by signal 6(SIGABRT).0
Punctaj total40

Ceva nu functioneaza?