Pagini recente »
Borderou de evaluare (job #654571)
Borderou de evaluare (job #654571)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:42:26: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
42 | fscanf(fout , " %d" , maxx);
| ~^ ~~~~
| | |
| | int
| int *
main.c:7:73: warning: unused variable 'minm' [-Wunused-variable]
7 | int ce , a, maxf = 0, minf = 5001, maxp = 0, minp = 5001, maxm = 0, minm =5001, cntp = 0, cntm = 0, cnta = 0, cntf = 0, i = 0, n, aa, m, f, max = 0, maxx = 0;
| ^~~~
main.c:7:63: warning: unused variable 'maxm' [-Wunused-variable]
7 | int ce , a, maxf = 0, minf = 5001, maxp = 0, minp = 5001, maxm = 0, minm =5001, cntp = 0, cntm = 0, cnta = 0, cntf = 0, i = 0, n, aa, m, f, max = 0, maxx = 0;
| ^~~~
main.c:7:50: warning: unused variable 'minp' [-Wunused-variable]
7 | int ce , a, maxf = 0, minf = 5001, maxp = 0, minp = 5001, maxm = 0, minm =5001, cntp = 0, cntm = 0, cnta = 0, cntf = 0, i = 0, n, aa, m, f, max = 0, maxx = 0;
| ^~~~
main.c:7:40: warning: unused variable 'maxp' [-Wunused-variable]
7 | int ce , a, maxf = 0, minf = 5001, maxp = 0, minp = 5001, maxm = 0, minm =5001, cntp = 0, cntm = 0, cnta = 0, cntf = 0, i = 0, n, aa, m, f, max = 0, maxx = 0;
| ^~~~
main.c:7:27: warning: unused variable 'minf' [-Wunused-variable]
7 | int ce , a, maxf = 0, minf = 5001, maxp = 0, minp = 5001, maxm = 0, minm =5001, cntp = 0, cntm = 0, cnta = 0, cntf = 0, i = 0, n, aa, m, f, max = 0, maxx = 0;
| ^~~~
main.c:7:17: warning: unused variable 'maxf' [-Wunused-variable]
7 | int ce , a, maxf = 0, minf = 5001, maxp = 0, minp = 5001, maxm = 0, minm =5001, cntp = 0, cntm = 0, cnta = 0, cntf = 0, i = 0, n, aa, m, f, max = 0, maxx = 0;
| ^~~~
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin , "%d" , &ce);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin , "%d%d%d" , &f, &m, &aa);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin , " %d" , &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:21:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | fscanf(fin , "%d" , &a);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:42:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | fscanf(fout , " %d" , maxx);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
5
|
2
|
1 ms
|
114 kb
|
OK
|
5
|
3
|
1 ms
|
114 kb
|
OK
|
5
|
4
|
1 ms
|
118 kb
|
OK
|
5
|
5
|
1 ms
|
118 kb
|
OK
|
5
|
6
|
1 ms
|
114 kb
|
Incorect
|
0
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
118 kb
|
Incorect
|
0
|
9
|
1 ms
|
118 kb
|
Incorect
|
0
|
10
|
1 ms
|
118 kb
|
Incorect
|
0
|
11
|
1 ms
|
118 kb
|
Incorect
|
0
|
12
|
1 ms
|
118 kb
|
Incorect
|
0
|
13
|
1 ms
|
118 kb
|
Incorect
|
0
|
14
|
7 ms
|
118 kb
|
Incorect
|
0
|
15
|
1 ms
|
118 kb
|
Incorect
|
0
|
16
|
1 ms
|
118 kb
|
Incorect
|
0
|
17
|
1 ms
|
118 kb
|
Incorect
|
0
|
18
|
8 ms
|
118 kb
|
Incorect
|
0
|
19
|
1 ms
|
118 kb
|
Incorect
|
0
|
20
|
1 ms
|
118 kb
|
Incorect
|
0
|
Punctaj total
|
25
|