Pagini recente »
Profil BodocanCristian1
|
Borderou de evaluare (job #158240)
|
Borderou de evaluare (job #233700)
|
Borderou de evaluare (job #91429)
|
Borderou de evaluare (job #687318)
Borderou de evaluare (job #687318)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin,"%d%d%d%d",&n,&m,&k,&g);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin,"%d%d",&lin,&col);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin,"%d%d",&lin,&col);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:78:32: warning: 'cp' may be used uninitialized in this function [-Wmaybe-uninitialized]
78 | if(l+dirl[d[j]]>=0 && c+dirc[d[j]]>=0 && l+dirl[d[j]]<n && c+dirc[d[j]]<n && v[l+dirl[d[j]]][c+dirc[d[j]]]==0 && v[l+drl[d[j]]][c+drc[d[j]]]>0){
| ~^~~~~~~~~~~
main.c:78:13: warning: 'lp' may be used uninitialized in this function [-Wmaybe-uninitialized]
78 | if(l+dirl[d[j]]>=0 && c+dirc[d[j]]>=0 && l+dirl[d[j]]<n && c+dirc[d[j]]<n && v[l+dirl[d[j]]][c+dirc[d[j]]]==0 && v[l+drl[d[j]]][c+drc[d[j]]]>0){
| ~^~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
114 kb
|
OK
|
5
|
|
2
|
8 ms
|
118 kb
|
OK
|
5
|
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
114 kb
|
OK
|
5
|
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
6
|
1 ms
|
114 kb
|
OK
|
5
|
|
7
|
2 ms
|
114 kb
|
OK
|
5
|
|
8
|
1 ms
|
114 kb
|
OK
|
5
|
|
9
|
1 ms
|
114 kb
|
OK
|
5
|
|
10
|
1 ms
|
114 kb
|
OK
|
5
|
|
11
|
1 ms
|
114 kb
|
OK
|
5
|
|
12
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
13
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
14
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
15
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
16
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
17
|
1 ms
|
114 kb
|
OK
|
5
|
|
18
|
62 ms
|
237 kb
|
OK
|
5
|
|
19
|
203 ms
|
217 kb
|
OK
|
5
|
|
20
|
167 ms
|
196 kb
|
OK
|
5
|
|
Punctaj total
|
65
|