Pagini recente »
Borderou de evaluare (job #808147)
Borderou de evaluare (job #808147)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:19:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf(fin, "%d %d %d\n", &m, &n, &s);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:27:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | fscanf(fin, "%d", &piesa);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:25:17: warning: 'mini' may be used uninitialized [-Wmaybe-uninitialized]
25 | while(i < s && mini > -1) {
| ~~~~~~^~~~~~~~~~~~
main.c:16:48: note: 'mini' was declared here
16 | int m, n, s, c, i, piesa, max1, max2, min, mini, piese, max;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
39 ms
|
249 kb
|
OK
|
10
|
6
|
1 ms
|
249 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
9 ms
|
249 kb
|
OK
|
10
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
60
|