Pagini recente »
Borderou de evaluare (job #652719)
|
Borderou de evaluare (job #522731)
|
Borderou de evaluare (job #146667)
|
Borderou de evaluare (job #568228)
|
Borderou de evaluare (job #847088)
Borderou de evaluare (job #847088)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin, "%d%d", &m, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:19:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf(fin, "%d", &stanga[c]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:29:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | fscanf(fin, "%d", &elem);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:32:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | fscanf(fin, "%d", &elem);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:46:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
46 | fscanf(fin, "%d", &elem);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:51:5: warning: 'maxc' may be used uninitialized [-Wmaybe-uninitialized]
51 | fprintf(fout, "%d %d %d\n", max_sum, maxc + 1, maxl + 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:42: note: 'maxc' was declared here
13 | int m, n, l, c, elem, sumv, max_sum, maxc, maxl, limit, aux, last;
| ^~~~
main.c:51:5: warning: 'maxl' may be used uninitialized [-Wmaybe-uninitialized]
51 | fprintf(fout, "%d %d %d\n", max_sum, maxc + 1, maxl + 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:48: note: 'maxl' was declared here
13 | int m, n, l, c, elem, sumv, max_sum, maxc, maxl, limit, aux, last;
| ^~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
292 kb
|
OK
|
5
|
|
2
|
1 ms
|
508 kb
|
OK
|
5
|
|
3
|
1 ms
|
508 kb
|
OK
|
5
|
|
4
|
1 ms
|
508 kb
|
OK
|
5
|
|
5
|
1 ms
|
508 kb
|
OK
|
5
|
|
6
|
0 ms
|
292 kb
|
OK
|
5
|
|
7
|
1 ms
|
292 kb
|
OK
|
5
|
|
8
|
1 ms
|
508 kb
|
OK
|
5
|
|
9
|
1 ms
|
292 kb
|
OK
|
5
|
|
10
|
1 ms
|
508 kb
|
OK
|
5
|
|
11
|
65 ms
|
592 kb
|
OK
|
5
|
|
12
|
65 ms
|
508 kb
|
OK
|
5
|
|
13
|
65 ms
|
508 kb
|
OK
|
5
|
|
14
|
65 ms
|
508 kb
|
OK
|
5
|
|
15
|
145 ms
|
508 kb
|
OK
|
5
|
|
16
|
145 ms
|
372 kb
|
OK
|
5
|
|
17
|
129 ms
|
508 kb
|
OK
|
5
|
|
18
|
143 ms
|
372 kb
|
OK
|
5
|
|
19
|
140 ms
|
508 kb
|
OK
|
5
|
|
20
|
142 ms
|
372 kb
|
OK
|
5
|
|
Punctaj total
|
100
|