这里写图片描述 这里写图片描述

一道考验智商的题~ 哈哈哈 数学or物理问题

#include<stdio.h>
int main() {
    double l,p,q;
    while(scanf("%lf %lf %lf",&l,&p,&q)!=EOF) {
        printf("%.3lf\n",l*(p/(p+q)));
    }
    return 0;
}

题目地址:【郑轻】[1770]Lovely Ball

© DiDaPiPa all right reserved,powered by GitbookRevision Time: 2020-03-12 21:32:06

results matching ""

    No results matching ""