Borderou de evaluare (job #1756907)

Utilizator akaprosAna Kapros akapros Data 13 septembrie 2016 21:18:16
Problema Semafoare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:63:30: warning: narrowing conversion of ‘xs’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] Q[0].push(cell {xs, ys, d}); ^ user.cpp:63:30: warning: narrowing conversion of ‘ys’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp:63:30: warning: narrowing conversion of ‘d’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] user.cpp:84:45: warning: narrowing conversion of ‘(((int)a.cell::x) + dx[k])’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] Q[C + 1].push(cell {a.x + dx[k], a.y + dy[k], k}); ^ user.cpp:84:58: warning: narrowing conversion of ‘(((int)a.cell::y) + dy[k])’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] Q[C + 1].push(cell {a.x + dx[k], a.y + dy[k], k}); ^ user.cpp:84:68: warning: narrowing conversion of ‘k’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] Q[C + 1].push(cell {a.x + dx[k], a.y + dy[k], k}); ^ user.cpp: In function ‘void read()’: user.cpp:20:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("semafoare.in", "r", stdin); ^ user.cpp:21: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:23:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %c\n", &xs, &ys, &c); ^ user.cpp:33:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &xd, &yd); ^ user.cpp:36:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", A[i]); ^ user.cpp: In function ‘void write()’: user.cpp:103:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("semafoare.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms516kbOK510
20ms472kbOK5
30ms496kbOK510
40ms492kbOK5
5Depăşit12260kbTime limit exceeded.00
6Depăşit9288kbTime limit exceeded.0
7Depăşit16748kbTime limit exceeded.00
8Depăşit13872kbTime limit exceeded.0
9Depăşit13128kbTime limit exceeded.00
10Depăşit9268kbTime limit exceeded.0
11Depăşit14988kbTime limit exceeded.00
12Depăşit11440kbTime limit exceeded.0
13Depăşit9540kbTime limit exceeded.00
14Depăşit13908kbTime limit exceeded.0
15Depăşit10984kbTime limit exceeded.00
16Depăşit10528kbTime limit exceeded.0
17Depăşit8644kbTime limit exceeded.00
18Depăşit13100kbTime limit exceeded.0
19Depăşit13192kbTime limit exceeded.00
20Depăşit14024kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?