0_0_39679414_24477.cpp: In function 'int main()':
0_0_39679414_24477.cpp:26:17: error: 'scnaf' was not declared in this scope; did you mean 'scanf'?
26 | scnaf("%lf",&p);
| ^~~~~
| scanf
0_0_39679414_24477.cpp:30:43: error: expected ';' before 'm'
30 | scanf("%lf",&w[i])
| ^
| ;
31 | m+=v[i];
| ~
|