Pagini recente »
Borderou de evaluare (job #770804)
|
Borderou de evaluare (job #769734)
Borderou de evaluare (job #769734)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:21:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
21 | for( j = 0; j <= k; j++ )
| ^~~
main.c:23:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
23 | if( i == 0 && j > 0 )
| ^~
main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf( fin, "%d%d", &n, &k );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf( fin, "%d", &v[i] );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:23:15: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized]
23 | if( i == 0 && j > 0 )
| ^
main.c:11:18: note: 'j' was declared here
11 | int n, i, k, j, l;
| ^
main.c:24:25: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized]
24 | a[l][j] = 0;
| ~~~~~~~~^~~
main.c:11:21: note: 'l' was declared here
11 | int n, i, k, j, l;
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
5
|
1 ms
|
507 kb
|
Incorect
|
0
|
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
Penalizare: 5% (pentru 1 submisie/ii)
|
5%
|
|
Punctaj total
|
9
|