Borderou de evaluare (job #1842636)

Utilizator mariakKapros Maria mariak Data 7 ianuarie 2017 13:11:59
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/ccKdGstI.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ăşit2072kbTime limit exceeded.0
2Depăşit2072kbTime limit exceeded.0
324ms604kbIncorect0
428ms604kbIncorect0
524ms604kbOK5
624ms608kbOK5
7Depăşit1264kbTime limit exceeded.0
8Depăşit1264kbTime limit exceeded.0
9Depăşit1264kbTime limit exceeded.0
10Depăşit2072kbTime limit exceeded.0
11Depăşit2076kbTime limit exceeded.0
12Depăşit2072kbTime limit exceeded.0
13Depăşit2072kbTime limit exceeded.0
14Depăşit2068kbTime limit exceeded.0
15Depăşit2072kbTime limit exceeded.0
164ms900kbKilled by signal 11(SIGSEGV).0
174ms912kbKilled by signal 11(SIGSEGV).0
184ms912kbKilled by signal 11(SIGSEGV).0
194ms916kbKilled by signal 11(SIGSEGV).0
204ms920kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?