Pagini recente »
Borderou de evaluare (job #372413)
|
Borderou de evaluare (job #700269)
Borderou de evaluare (job #700269)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:71:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
71 | else
| ^~~~
main.c:73:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
73 | if(k == pa && l > (n+1)/2)
| ^~
main.c:75:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
75 | else if(z = pa && c < (n+1)/2)
| ^
main.c:79:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
79 | else if(z == pa && z > (n+1)/2)
| ^~
main.c:81:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
81 | fprintf(fout,"%d",j);
| ^~~~~~~
main.c:12:52: warning: unused variable 's' [-Wunused-variable]
12 | int n,l,c,i,j,i2,z,k,pa,nre,f,lung,s;
| ^
main.c:12:47: warning: unused variable 'lung' [-Wunused-variable]
12 | int n,l,c,i,j,i2,z,k,pa,nre,f,lung,s;
| ^~~~
main.c:12:45: warning: unused variable 'f' [-Wunused-variable]
12 | int n,l,c,i,j,i2,z,k,pa,nre,f,lung,s;
| ^
main.c:12:41: warning: unused variable 'nre' [-Wunused-variable]
12 | int n,l,c,i,j,i2,z,k,pa,nre,f,lung,s;
| ^~~
main.c:13:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin,"%d%d",&c,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:62:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | fscanf(fin,"%d%d",&l,&c);
| ^~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
5
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
4
|
1 ms
|
237 kb
|
OK
|
5
|
5
|
1 ms
|
491 kb
|
OK
|
5
|
6
|
19 ms
|
593 kb
|
OK
|
5
|
7
|
39 ms
|
671 kb
|
OK
|
5
|
8
|
59 ms
|
770 kb
|
OK
|
5
|
9
|
69 ms
|
880 kb
|
OK
|
5
|
10
|
99 ms
|
827 kb
|
OK
|
5
|
11
|
1 ms
|
245 kb
|
OK
|
5
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
245 kb
|
Incorect
|
0
|
14
|
1 ms
|
245 kb
|
Incorect
|
0
|
15
|
1 ms
|
245 kb
|
Incorect
|
0
|
16
|
1 ms
|
245 kb
|
Incorect
|
0
|
17
|
1 ms
|
245 kb
|
Incorect
|
0
|
18
|
1 ms
|
245 kb
|
Incorect
|
0
|
19
|
1 ms
|
245 kb
|
Incorect
|
0
|
20
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
55
|