


CodePudding user response:
The enemy is divided into a small, then start to shoot,CodePudding user response:
#include#include
Int main () {
int n;
The scanf (" % d ", & amp; N);
Float total;
For (int I=0; I
The scanf (" % d, % f ", & amp; W, & amp; P);
Total +=floor (w * p * 10 + 0.499 f)/10;
//floor was converted into Angle for the unit inside, and then become divided into unit
}
Printf (" % 2 f ", total);
}
CodePudding user response:
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.htmlI hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html