Pagini recente »
Borderou de evaluare (job #794124)
|
Borderou de evaluare (job #777052)
|
Borderou de evaluare (job #762579)
|
Borderou de evaluare (job #585077)
|
Borderou de evaluare (job #780998)
Borderou de evaluare (job #780998)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:18:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=]
18 | fscanf(fin,"%d",&sir[i]);
| ~^ ~~~~~~~
| | |
| | short int *
| int *
| %hd
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:18:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin,"%d",&sir[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:45:17: warning: 'maxp' may be used uninitialized [-Wmaybe-uninitialized]
45 | divs[maxp]=aux;
| ~~~~~~~~~~^~~~
main.c:11:35: note: 'maxp' was declared here
11 | int n,i,sum=0,div=1,max,aux,j,maxp,maxo=0,gasit=0;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
249 kb
|
OK
|
10
|
5
|
70 ms
|
634 kb
|
OK
|
10
|
6
|
129 ms
|
774 kb
|
OK
|
10
|
7
|
219 ms
|
1298 kb
|
Incorect
|
0
|
8
|
309 ms
|
1839 kb
|
Incorect
|
0
|
9
|
359 ms
|
2101 kb
|
OK
|
10
|
10
|
398 ms
|
2105 kb
|
Incorect
|
0
|
Punctaj total
|
60
|