Borderou de evaluare (job #1597332)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 11 februarie 2016 21:47:34
Problema Dragon Ball Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void readData()’: user.cpp:138:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d ", &N, &T); ^ user.cpp:139:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); assignValue(vec[++N]); ^ user.cpp:142:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); assignValue(vec[i]); ^ /tmp/ccdKXyXf.o: In function `readData()': user.cpp:(.text+0x44b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms332kbOK10
28ms8340kbIncorect0
30ms1112kbIncorect0
412ms8752kbIncorect0
50ms1112kbIncorect0
60ms336kbKilled by signal 6(SIGABRT).0
70ms340kbKilled by signal 6(SIGABRT).0
80ms340kbKilled by signal 6(SIGABRT).0
90ms340kbKilled by signal 6(SIGABRT).0
100ms340kbKilled by signal 6(SIGABRT).0
Punctaj total10

Ceva nu functioneaza?