Pagini recente »
Borderou de evaluare (job #631773)
|
Borderou de evaluare (job #92216)
|
Borderou de evaluare (job #366504)
|
Borderou de evaluare (job #694551)
|
Borderou de evaluare (job #811052)
Borderou de evaluare (job #811052)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | fscanf(fin, "%d%d", &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:25:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | fscanf(fin, "%d", &matrice[i][j]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:53:16: warning: array subscript 2 is above array bounds of 'int[2][5051]' [-Warray-bounds=]
53 | fir[2][ind] = p2;
| ~~~^~~
main.c:4:24: note: while referencing 'fir'
4 | int matrice[101][101], fir[2][5051];
| ^~~
main.c:75:62: warning: array subscript 2 is above array bounds of 'int[2][5051]' [-Warray-bounds=]
75 | fprintf(fout, "%d %d %d\n", fir[0][i], fir[1][i], fir[2][i]);
| ~~~^~~
main.c:4:24: note: while referencing 'fir'
4 | int matrice[101][101], fir[2][5051];
| ^~~
main.c:67:28: warning: array subscript 2 is above array bounds of 'int[2][5051]' [-Warray-bounds=]
67 | schimb(&fir[2][i], &fir[2][j]);
| ~~~^~~
main.c:4:24: note: while referencing 'fir'
4 | int matrice[101][101], fir[2][5051];
| ^~~
main.c:67:40: warning: array subscript 2 is above array bounds of 'int[2][5051]' [-Warray-bounds=]
67 | schimb(&fir[2][i], &fir[2][j]);
| ~~~^~~
main.c:4:24: note: while referencing 'fir'
4 | int matrice[101][101], fir[2][5051];
| ^~~
main.c:67:28: warning: array subscript 2 is above array bounds of 'int[2][5051]' [-Warray-bounds=]
67 | schimb(&fir[2][i], &fir[2][j]);
| ~~~^~~
main.c:4:24: note: while referencing 'fir'
4 | int matrice[101][101], fir[2][5051];
| ^~~
main.c:67:40: warning: array subscript 2 is above array bounds of 'int[2][5051]' [-Warray-bounds=]
67 | schimb(&fir[2][i], &fir[2][j]);
| ~~~^~~
main.c:4:24: note: while referencing 'fir'
4 | int matrice[101][101], fir[2][5051];
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
507 kb
|
Incorect
|
0
|
3
|
1 ms
|
266 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 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
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
0
|