Pagini recente » Borderou de evaluare (job #2945628) | Borderou de evaluare (job #173142) | Borderou de evaluare (job #621387) | Borderou de evaluare (job #847113) | Borderou de evaluare (job #1657152)
Borderou de evaluare (job #1657152)
Raport evaluator
Compilare:
user.cpp: In function ‘void Rezolvare()’:
user.cpp:41:103: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while( I- J +1>= Y&& ( I-J+1 > X || v[ Qmax[pQmax] ] - v[ Qmin[pQmin] ] > Z && pQmax <= uQmax && pQmin <= uQmax ) ){
^
user.cpp:18:5: warning: unused variable ‘i’ [-Wunused-variable]
int i, nr, J, I, Rl, Ry, Rx, lung;
^
user.cpp: In function ‘void Citire()’:
user.cpp:11:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d %d\n",&N,&Y,&X,&Z);
^
user.cpp:14:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 5 |
2 | 0ms | 268kb | OK | 5 |
3 | 0ms | 268kb | OK | 5 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 300kb | OK | 5 |
6 | 0ms | 304kb | OK | 5 |
7 | 4ms | 352kb | OK | 5 |
8 | 8ms | 408kb | OK | 5 |
9 | 8ms | 428kb | OK | 5 |
10 | 12ms | 468kb | OK | 5 |
11 | 16ms | 508kb | OK | 5 |
12 | 16ms | 540kb | OK | 5 |
13 | 20ms | 604kb | OK | 5 |
14 | 24ms | 628kb | OK | 5 |
15 | 28ms | 852kb | OK | 5 |
16 | 24ms | 652kb | OK | 5 |
17 | 0ms | 308kb | OK | 5 |
18 | 24ms | 668kb | OK | 5 |
19 | 28ms | 652kb | OK | 5 |
20 | 24ms | 660kb | OK | 5 |
Punctaj total | 95 |