Pagini recente » Borderou de evaluare (job #3253799) | Borderou de evaluare (job #2642566) | Borderou de evaluare (job #1304951) | Borderou de evaluare (job #762932) | Borderou de evaluare (job #1756916)
Borderou de evaluare (job #1756916)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:65:30: warning: narrowing conversion of ‘xs’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
Q[0].push(cell {xs, ys, d});
^
user.cpp:65:30: warning: narrowing conversion of ‘ys’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:65:30: warning: narrowing conversion of ‘d’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:88:49: 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:88:62: 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:88:72: 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:109: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 | 508kb | OK | 5 | 10 |
2 | 0ms | 484kb | OK | 5 |
3 | 0ms | 492kb | OK | 5 | 10 |
4 | 0ms | 496kb | OK | 5 |
5 | 4ms | 1176kb | OK | 5 | 10 |
6 | 4ms | 1132kb | OK | 5 |
7 | 4ms | 952kb | OK | 5 | 10 |
8 | 0ms | 888kb | OK | 5 |
9 | 0ms | 812kb | OK | 5 | 10 |
10 | 0ms | 816kb | OK | 5 |
11 | 36ms | 2808kb | OK | 5 | 10 |
12 | 92ms | 4240kb | OK | 5 |
13 | 156ms | 6128kb | OK | 5 | 10 |
14 | 272ms | 9196kb | OK | 5 |
15 | 172ms | 6748kb | OK | 5 | 10 |
16 | 76ms | 3908kb | OK | 5 |
17 | 48ms | 2904kb | OK | 5 | 10 |
18 | 312ms | 10612kb | OK | 5 |
19 | 48ms | 2948kb | OK | 5 | 10 |
20 | 324ms | 10448kb | OK | 5 |
Punctaj total | 100 |