Borderou de evaluare (job #1795846)

Utilizator giotoPopescu Ioan gioto Data 2 noiembrie 2016 21:39:52
Problema Rox Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d%d ", &l1[i], &c1[i], &l2[i], &c2[i]); ^ user.cpp:27:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:27:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:27:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:22:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rox.in", "r", stdin); ^ user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rox.out", "w", stdout); ^ user.cpp:24:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &m, &u); ^ user.cpp:27:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d ", &l1[i], &c1[i], &l2[i], &c2[i]); ^ user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:32:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ user.cpp:35:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &l, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms300kbOK5
28ms296kbOK5
376ms276kbOK5
4176ms284kbOK5
580ms280kbOK5
6148ms284kbOK5
7120ms284kbOK5
8104ms276kbOK5
9Depăşit800kbTime limit exceeded.0
10Depăşit592kbTime limit exceeded.0
11Depăşit632kbTime limit exceeded.0
12Depăşit1072kbTime limit exceeded.0
13Depăşit888kbTime limit exceeded.0
14Depăşit980kbTime limit exceeded.0
15Depăşit1352kbTime limit exceeded.0
16240ms1284kbKilled by signal 11(SIGSEGV).0
17344ms1164kbKilled by signal 11(SIGSEGV).0
18224ms1440kbKilled by signal 11(SIGSEGV).0
19Depăşit1444kbTime limit exceeded.0
20Depăşit1440kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?