pareto.cpp: In function 'int main()':
pareto.cpp:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
pareto.cpp:12:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
~~~~~^~~~~~~~~~~~~
pareto.cpp:28:46: warning: 'sola' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout << fixed << setprecision(15) << sola * 100 << "\n";
^~~
pareto.cpp:29:46: warning: 'solb' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout << fixed << setprecision(15) << solb * 100;
^~~