Pagini recente »
Borderou de evaluare (job #654569)
Borderou de evaluare (job #654569)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:40:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
40 | if(ce == 2)
| ^~
main.c:42:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
42 | fprintf(fout , " %d" , maxx);
| ^~~~~~~
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);
| ^~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
7 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
118 kb
|
Incorect
|
0
|
6
|
1 ms
|
114 kb
|
OK
|
5
|
7
|
1 ms
|
114 kb
|
OK
|
5
|
8
|
1 ms
|
118 kb
|
OK
|
5
|
9
|
1 ms
|
118 kb
|
OK
|
5
|
10
|
1 ms
|
118 kb
|
OK
|
5
|
11
|
1 ms
|
114 kb
|
Incorect
|
0
|
12
|
1 ms
|
114 kb
|
Incorect
|
0
|
13
|
1 ms
|
118 kb
|
Incorect
|
0
|
14
|
1 ms
|
118 kb
|
Incorect
|
0
|
15
|
1 ms
|
114 kb
|
Incorect
|
0
|
16
|
1 ms
|
114 kb
|
Incorect
|
0
|
17
|
7 ms
|
114 kb
|
Incorect
|
0
|
18
|
1 ms
|
118 kb
|
Incorect
|
0
|
19
|
1 ms
|
118 kb
|
Incorect
|
0
|
20
|
1 ms
|
118 kb
|
Incorect
|
0
|
Punctaj total
|
25
|