Pagini recente »
Borderou de evaluare (job #503024)
|
Borderou de evaluare (job #512692)
|
Borderou de evaluare (job #88737)
|
Borderou de evaluare (job #579251)
|
Borderou de evaluare (job #802551)
Borderou de evaluare (job #802551)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:18: warning: variable 'maxe' set but not used [-Wunused-but-set-variable]
9 | int n, mine, maxe, max, i, j, u, p, ok, x, y;
| ^~~~
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:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d", &bne[j]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin, "%d", &be[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:98:26: warning: array subscript -1 is below array bounds of 'int[1000]' [-Warray-bounds=]
98 | else if(be[5]-bne[y+1]>=bne[i+1]-be[5])
| ~~~^~~~~
main.c:4:12: note: while referencing 'bne'
4 | int be[6], bne[1000];
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
270 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
270 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
|
Punctaj total
|
0
|