Borderou de evaluare (job #1842622)

Utilizator mariakKapros Maria mariak Data 7 ianuarie 2017 12:53:33
Problema Ratina Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:24:29: 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:27:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(w); ^ user.cpp: In function ‘void queries()’: user.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:42:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &word[i]), word[i] --; ^ user.cpp:37:14: warning: ‘ok’ may be used uninitialized in this function [-Wmaybe-uninitialized] bool ok; ^ /tmp/cc1g6TtM.o: In function `read()': user.cpp:(.text+0x350): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit2068kbTime limit exceeded.0
2Depăşit2076kbTime limit exceeded.0
324ms604kbIncorect0
424ms604kbIncorect0
524ms604kbOK5
624ms608kbOK5
7Depăşit1268kbTime limit exceeded.0
8Depăşit1260kbTime limit exceeded.0
9Depăşit1264kbTime limit exceeded.0
10Depăşit2068kbTime limit exceeded.0
11Depăşit2068kbTime limit exceeded.0
12Depăşit2072kbTime limit exceeded.0
13Depăşit2068kbTime limit exceeded.0
14Depăşit2072kbTime limit exceeded.0
15Depăşit2076kbTime limit exceeded.0
164ms896kbKilled by signal 11(SIGSEGV).0
174ms916kbKilled by signal 11(SIGSEGV).0
184ms916kbKilled by signal 11(SIGSEGV).0
194ms916kbKilled by signal 11(SIGSEGV).0
204ms912kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?