/in/foo.cc: In function 'int main()':
/in/foo.cc:39:50: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
scanf("%llf%llf%llf%llf%d", &D1, &C, &D2, &P, &n);
^
/in/foo.cc:39:50: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
/in/foo.cc:39:50: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
/in/foo.cc:39:50: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
/in/foo.cc:43:42: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
scanf("%llf%llf", &pl[i].dis, &pl[i].co);
^
/in/foo.cc:43:42: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
/in/foo.cc:53:22: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
printf("%.2llf", ans);
^