Pagini recente »
Borderou de evaluare (job #808503)
Borderou de evaluare (job #808503)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:1: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin,"%d%d%d",&n,&e,&p);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d",&v[i]);}
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:17:6: warning: 'w' may be used uninitialized [-Wmaybe-uninitialized]
17 | for(x=w+1;x<n;x++){
| ~^~~~
main.c:7:23: note: 'w' was declared here
7 | int n,e,p,i,x,d,j,aux,w;
| ^
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
|
OK
|
10
|
4
|
1 ms
|
266 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
270 kb
|
OK
|
10
|
8
|
9 ms
|
229 kb
|
OK
|
10
|
9
|
9 ms
|
229 kb
|
OK
|
10
|
10
|
9 ms
|
229 kb
|
OK
|
10
|
Punctaj total
|
100
|