Pagini recente »
Borderou de evaluare (job #482648)
|
Borderou de evaluare (job #242215)
|
Clasament 2024-04-10-clasa-7-tema-29
|
Borderou de evaluare (job #552906)
|
Borderou de evaluare (job #815422)
Borderou de evaluare (job #815422)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:8:35: warning: unused variable 'jj' [-Wunused-variable]
8 | int jk,n,nr,i,ok=0,max,maxp,j,jj,maxp2;
| ^~
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin ,"%d%d%d",&jk,&n,&v[1]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin ,"%d",&v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:56:15: warning: 'maxp' may be used uninitialized [-Wmaybe-uninitialized]
56 | nr=v[maxp];
| ~~^~~~~~~~
main.c:8:28: note: 'maxp' was declared here
8 | int jk,n,nr,i,ok=0,max,maxp,j,jj,maxp2;
| ^~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'printf',
inlined from 'main' at main.c:71:5:
/usr/include/bits/stdio2.h:118:10: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized]
118 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:8:24: note: 'max' was declared here
8 | int jk,n,nr,i,ok=0,max,maxp,j,jj,maxp2;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
Incorect
|
0
|
2
|
3 ms
|
192 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
2 ms
|
122 kb
|
Incorect
|
0
|
5
|
2 ms
|
122 kb
|
Incorect
|
0
|
6
|
1 ms
|
249 kb
|
Incorect
|
0
|
7
|
9 ms
|
270 kb
|
Incorect
|
0
|
8
|
9 ms
|
249 kb
|
Incorect
|
0
|
9
|
9 ms
|
258 kb
|
Incorect
|
0
|
10
|
2 ms
|
131 kb
|
Incorect
|
0
|
11
|
9 ms
|
237 kb
|
Incorect
|
0
|
12
|
78 ms
|
376 kb
|
Incorect
|
0
|
13
|
19 ms
|
249 kb
|
Incorect
|
0
|
14
|
9 ms
|
258 kb
|
Incorect
|
0
|
15
|
69 ms
|
249 kb
|
Incorect
|
0
|
16
|
1 ms
|
270 kb
|
Incorect
|
0
|
17
|
1 ms
|
249 kb
|
Incorect
|
0
|
18
|
1 ms
|
249 kb
|
Incorect
|
0
|
19
|
9 ms
|
258 kb
|
Incorect
|
0
|
20
|
9 ms
|
237 kb
|
Incorect
|
0
|
21
|
9 ms
|
237 kb
|
Incorect
|
0
|
22
|
1 ms
|
249 kb
|
Incorect
|
0
|
23
|
7 ms
|
385 kb
|
Incorect
|
0
|
24
|
1 ms
|
249 kb
|
Incorect
|
0
|
25
|
9 ms
|
237 kb
|
Incorect
|
0
|
Punctaj total
|
0
|