Pagini recente »
Borderou de evaluare (job #360695)
|
Borderou de evaluare (job #378642)
|
Borderou de evaluare (job #362082)
|
Borderou de evaluare (job #540958)
|
Borderou de evaluare (job #815894)
Borderou de evaluare (job #815894)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin,"%d %d",&j,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin,"%d",&nr);
| ^~~~~~~~~~~~~~~~~~~~
main.c:38:18: warning: 'pozmax' may be used uninitialized [-Wmaybe-uninitialized]
38 | v1[i]=v1[i-1];
| ~~~~~^~~~~~~~
main.c:12:27: note: 'pozmax' was declared here
12 | int j,n,nr,i,k,maxi=0,pozmax,mini=1+2e9,pozmin=-1;
| ^~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
4
|
2
|
1 ms
|
245 kb
|
OK
|
4
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
OK
|
4
|
5
|
1 ms
|
245 kb
|
OK
|
4
|
6
|
1 ms
|
249 kb
|
OK
|
4
|
7
|
1 ms
|
249 kb
|
OK
|
4
|
8
|
1 ms
|
249 kb
|
Incorect
|
0
|
9
|
9 ms
|
499 kb
|
OK
|
4
|
10
|
9 ms
|
237 kb
|
Incorect
|
0
|
11
|
9 ms
|
237 kb
|
Incorect
|
0
|
12
|
9 ms
|
258 kb
|
OK
|
4
|
13
|
9 ms
|
237 kb
|
OK
|
4
|
14
|
9 ms
|
499 kb
|
Incorect
|
0
|
15
|
9 ms
|
237 kb
|
Incorect
|
0
|
16
|
1 ms
|
249 kb
|
OK
|
4
|
17
|
1 ms
|
249 kb
|
Incorect
|
0
|
18
|
1 ms
|
266 kb
|
OK
|
4
|
19
|
9 ms
|
237 kb
|
Incorect
|
0
|
20
|
9 ms
|
258 kb
|
OK
|
4
|
21
|
9 ms
|
237 kb
|
Incorect
|
0
|
22
|
1 ms
|
245 kb
|
OK
|
4
|
23
|
9 ms
|
237 kb
|
OK
|
4
|
24
|
1 ms
|
270 kb
|
OK
|
4
|
25
|
9 ms
|
237 kb
|
OK
|
4
|
Punctaj total
|
64
|