HDU 2552 三足鼎立

http://acm.hdu.edu.cn/showproblem.php?pid=2552

数学推导

View Code
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>

int main()
{
    int t;
    scanf("%d",&t);
    while(t--)
    {
        scanf("%*lf%*lf");    
        printf("1\n");
    }
    return 0;
}
原文地址:https://www.cnblogs.com/xiaohongmao/p/2440964.html