Borderou de evaluare (job #1842640)

Utilizator mariakKapros Maria mariak Data 7 ianuarie 2017 13:18:41
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/ccYwrlu3.o: In function `read()': user.cpp:(.text+0x320): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1348kbTime limit exceeded.0
2Depăşit1352kbTime limit exceeded.0
324ms624kbIncorect0
424ms624kbIncorect0
524ms620kbOK5
624ms620kbOK5
7Depăşit944kbTime limit exceeded.0
8Depăşit944kbTime limit exceeded.0
9Depăşit944kbTime limit exceeded.0
10Depăşit1348kbTime limit exceeded.0
11Depăşit1344kbTime limit exceeded.0
12Depăşit1352kbTime limit exceeded.0
13Depăşit1348kbTime limit exceeded.0
14Depăşit1336kbTime limit exceeded.0
15Depăşit1352kbTime limit exceeded.0
16Depăşit972kbTime limit exceeded.0
17Depăşit1008kbTime limit exceeded.0
18Depăşit1008kbTime limit exceeded.0
19Depăşit1012kbTime limit exceeded.0
20Depăşit1008kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?