Borderou de evaluare (job #1263265)

Utilizator geniucosOncescu Costin geniucos Data 14 noiembrie 2014 12:03:42
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("logs.in", "r", stdin); ^ user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("logs.out", "w", stdout); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d\n", &n, &m); ^ user.cpp:19:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (a+1); ^ /tmp/cc0oxMmb.o: In function `main': user.cpp:(.text.startup+0xb0): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbIncorect0
24ms264kbOK10
30ms340kbKilled by signal 6(SIGABRT).0
40ms340kbKilled by signal 6(SIGABRT).0
50ms336kbKilled by signal 6(SIGABRT).0
60ms336kbKilled by signal 6(SIGABRT).0
70ms336kbKilled by signal 6(SIGABRT).0
80ms340kbKilled by signal 6(SIGABRT).0
90ms340kbKilled by signal 6(SIGABRT).0
100ms336kbKilled by signal 6(SIGABRT).0
Punctaj total10

Ceva nu functioneaza?