Pagini recente » Borderou de evaluare (job #894979) | Borderou de evaluare (job #1789150) | Borderou de evaluare (job #2644328) | Borderou de evaluare (job #1165485) | Borderou de evaluare (job #1756907)
Borderou de evaluare (job #1756907)
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 |
1 | 0ms | 516kb | OK | 5 | 10 |
2 | 0ms | 472kb | OK | 5 |
3 | 0ms | 496kb | OK | 5 | 10 |
4 | 0ms | 492kb | OK | 5 |
5 | Depăşit | 12260kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 9288kb | Time limit exceeded. | 0 |
7 | Depăşit | 16748kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 13872kb | Time limit exceeded. | 0 |
9 | Depăşit | 13128kb | Time limit exceeded. | 0 | 0 |
10 | Depăşit | 9268kb | Time limit exceeded. | 0 |
11 | Depăşit | 14988kb | Time limit exceeded. | 0 | 0 |
12 | Depăşit | 11440kb | Time limit exceeded. | 0 |
13 | Depăşit | 9540kb | Time limit exceeded. | 0 | 0 |
14 | Depăşit | 13908kb | Time limit exceeded. | 0 |
15 | Depăşit | 10984kb | Time limit exceeded. | 0 | 0 |
16 | Depăşit | 10528kb | Time limit exceeded. | 0 |
17 | Depăşit | 8644kb | Time limit exceeded. | 0 | 0 |
18 | Depăşit | 13100kb | Time limit exceeded. | 0 |
19 | Depăşit | 13192kb | Time limit exceeded. | 0 | 0 |
20 | Depăşit | 14024kb | Time limit exceeded. | 0 |
Punctaj total | 20 |