Pagini recente »
Borderou de evaluare (job #105441)
|
Borderou de evaluare (job #628341)
Borderou de evaluare (job #628341)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin, "%d%d", &mat[1][i], &mat[2][i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:19:29: warning: array subscript 2 is above array bounds of 'int[2][9005]' [-Warray-bounds]
19 | if(mat[1][i]==0 && mat[2][i]==0)
| ~~~^~~
main.c:4:5: note: while referencing 'mat'
4 | int mat[2][9005], v[9005];
| ^~~
main.c:15:9: warning: array subscript 2 is above array bounds of 'int[2][9005]' [-Warray-bounds]
15 | fscanf(fin, "%d%d", &mat[1][i], &mat[2][i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:4:5: note: while referencing 'mat'
4 | int mat[2][9005], v[9005];
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
OK
|
10
|
4
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
5
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
6
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
7
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
8
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
9
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
10
|
2 ms
|
118 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
10
|