Pagini recente » Borderou de evaluare (job #1051618) | Borderou de evaluare (job #2958706) | Borderou de evaluare (job #1599587) | Borderou de evaluare (job #1832012) | Borderou de evaluare (job #1732092)
Borderou de evaluare (job #1732092)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, indi, dim, maxi, x, y;
^
user.cpp:19:27: warning: unused variable ‘dim’ [-Wunused-variable]
int n, m, i, j, indi, dim, maxi, x, y;
^
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvmin.in","r",stdin);
^
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvmin.out","w",stdout);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:22:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= n; ++i ) scanf("%d",&a[ i ]);
^
user.cpp:23:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= m; ++i ) scanf("%d",&b[ i ]);
^
user.cpp:41:19: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if( y - x + 1 > maxi ) maxi = y - x + 1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 5 |
2 | 0ms | 284kb | OK | 5 |
3 | 0ms | 288kb | OK | 5 |
4 | 0ms | 288kb | OK | 5 |
5 | 0ms | 288kb | OK | 5 |
6 | 0ms | 300kb | OK | 5 |
7 | 0ms | 324kb | OK | 5 |
8 | 4ms | 448kb | OK | 5 |
9 | 16ms | 700kb | OK | 5 |
10 | 20ms | 704kb | OK | 5 |
11 | 24ms | 828kb | OK | 5 |
12 | 28ms | 948kb | OK | 5 |
13 | 32ms | 1036kb | OK | 5 |
14 | 28ms | 980kb | OK | 5 |
15 | 28ms | 800kb | OK | 5 |
16 | 32ms | 996kb | Incorect | 0 |
17 | 44ms | 1156kb | OK | 5 |
18 | 28ms | 804kb | OK | 5 |
19 | 28ms | 1020kb | Incorect | 0 |
20 | 32ms | 1104kb | OK | 5 |
Punctaj total | 90 |