I-Hard Math Problem
Hard Math Problem
https://ac.nowcoder.com/acm/contest/5670/I
链接:https://ac.nowcoder.com/acm/contest/5670/I
来源:牛客网
题意:
让你输出能构造出H/(G+H+E)值最大的解
a=3,b=奇数的时候就能构造出最大解
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int>P; #define INF 0x3f3f3f3f int main() { printf("%.6f",6.0/9); return 0; }