open judge 1.5 18:鸡尾酒疗法
这是真确解法:#include<stdio.h>int main(){ int n, a, b; double x, y; scanf("%d %d %d", &n, &a, &b); x = b * 1.0 / a; for (int i = 1; i < n; i++) { scanf("%d %d", &a, &b); y =