2810: 鸡尾酒疗法 摘要:解题思路:注意采取循环注意事项:参考代码:# 鸡尾酒疗法n=int(input())b=[]avg=0now=0for i in range(1,n+1): x,y=(map(int,input…… 题解列表 2024年09月13日 1 点赞 0 评论 480 浏览 评分:9.9
写题解 2810: 鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n;double x,y,d,d1;cin>>n>>x…… 题解列表 2024年01月11日 0 点赞 0 评论 317 浏览 评分:9.9
题解 2810: 鸡尾酒疗法 python版 易懂 摘要:解题思路:注意事项:参考代码:x = 0y = a = []n = int(input())for i in range(n): a.extend(map(int,input().split()…… 题解列表 2024年03月25日 0 点赞 0 评论 424 浏览 评分:9.9
题解 2810: 鸡尾酒疗法 摘要:参考代码:a=int(input())b=[]for i in range(1,a+1): x,y=map(int,input().split()) if i<=1: c=y…… 题解列表 2024年03月17日 0 点赞 0 评论 455 浏览 评分:9.9
2810: 鸡尾酒疗法 (Python版)(简单易懂) 摘要:解题思路:用二维数组参考代码:#输入nn=int(input())#单独输入鸡尾酒实验数据jwj=list(map(int,input().split()))#在数组末尾增设实验结果jwj.appen…… 题解列表 2024年03月17日 0 点赞 2 评论 717 浏览 评分:9.9
python 2810: 鸡尾酒疗法 摘要:解题思路:有效率 = 有效的病例数 / 总病例数参考代码:n = int(input()) for i in range(n): arr = list(map(int, input().s…… 题解列表 2024年03月13日 0 点赞 0 评论 439 浏览 评分:9.9
2810: 鸡尾酒疗法 摘要:解题思路:本题主要考察对循环的熟练度和对题干的理解力注意事项:循环中i的循环次数为:i<=n-1,不是n better,worse,same不要拼错(别问我为什么要写这个,…… 题解列表 2024年01月11日 0 点赞 0 评论 456 浏览 评分:9.9
清楚易懂,简单实现 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int n,a[10],sample…… 题解列表 2024年02月03日 0 点赞 0 评论 392 浏览 评分:9.9
2810: 鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ double n,x,y,j,k; cin>>n>>x>…… 题解列表 2024年01月13日 0 点赞 0 评论 290 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月12日 0 点赞 0 评论 258 浏览 评分:9.9