题解 2810: 鸡尾酒疗法

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

数组+循环

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; double x,y[100],j,k; scanf("%d",&n); scanf("%lf %……

鸡尾酒疗法C语言解法

摘要:解题思路:数组思想注意事项:参考代码:#include<stdio.h>int ans[10001];int main(){    int n,i,y1,y2;    int a,b;    floa……