算法课 贪心
贪心
C
#include <bits/stdc++.h>
using namespace std;
struct node
{
double left,right;
}jk[10101];
bool cmp(node x,node y)
{
return x.left <y.left;
}
int main()
{
int n,flag=0,sum,k=1;
double x,y,d,p;
while(cin >>n >> d&
原创
2021-03-26 10:51:21 ·
70 阅读 ·
0 评论