foo.cc: In function 'int main()':
foo.cc:29:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lf", &n, &eu);
~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:30:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= n; ++i) scanf("%lf%lf%lf", s + i, k + i, u + i);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务