多组输入的循环方式解决 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>int main() { int n; scanf("%d", &n);…… 题解列表 2023年07月31日 0 点赞 0 评论 330 浏览 评分:0.0
题解 2810: 鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ double n,x,y,q,w; cin>>n>>x>…… 题解列表 2024年01月11日 0 点赞 0 评论 229 浏览 评分:0.0
2810: 鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; double x,y,a,b; …… 题解列表 2024年01月11日 0 点赞 2 评论 151 浏览 评分:0.0
鸡尾酒疗法C解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double x,y; int n,i,m,p,a[100],b[100],c[100]; s…… 题解列表 2024年02月19日 0 点赞 0 评论 292 浏览 评分:0.0
编写题解 2810: 鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:n=int(input())jl,jx=map(int,input().split())j=jx/jllist1=[]for i in range(n-1): gl…… 题解列表 2024年02月28日 0 点赞 0 评论 265 浏览 评分:0.0
鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>#include <complex.h> int main() { int n, x, y[2…… 题解列表 2023年11月10日 0 点赞 0 评论 315 浏览 评分:0.0
题解 2810: 鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a; double x,c,y,f; cin>>a;…… 题解列表 2023年11月08日 0 点赞 0 评论 286 浏览 评分:0.0
编写题解 2810: 鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a,b; cin>>n; float x,y;…… 题解列表 2024年06月04日 0 点赞 0 评论 1436 浏览 评分:0.0
胡说八道式解释答案, 没有详细介绍 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main ( ){ int n ; int a , b , c, d ; float x ,y ; …… 题解列表 2024年11月05日 2 点赞 0 评论 381 浏览 评分:0.0
int做除法默认floor,如果想还原结果百分比需要*1.0 摘要:解题思路:1.int做除法默认floor,如果想还原结果百分比需要*1.0。如p=1.0*b/a;2.多行数据,如果要用前面一行求固定值,直接输入即可。不用想复杂,又引入数组索引,太麻烦。 cin>>…… 题解列表 2024年12月03日 0 点赞 0 评论 280 浏览 评分:0.0