2810: 鸡尾酒疗法 摘要:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double x,y,d,d1; cin>>…… 题解列表 2025年10月15日 0 点赞 0 评论 157 浏览 评分:0.0
鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n;double x,y,d,d1;cin…… 题解列表 2025年03月23日 1 点赞 0 评论 309 浏览 评分:0.0
int做除法默认floor,如果想还原结果百分比需要*1.0 摘要:解题思路:1.int做除法默认floor,如果想还原结果百分比需要*1.0。如p=1.0*b/a;2.多行数据,如果要用前面一行求固定值,直接输入即可。不用想复杂,又引入数组索引,太麻烦。 cin>>…… 题解列表 2024年12月03日 0 点赞 0 评论 279 浏览 评分: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<iostream>#include<cmath>using namespace std;int main(){ int n,a[10],sample…… 题解列表 2024年02月03日 0 点赞 0 评论 351 浏览 评分:9.9
2810: 鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ double n,x,y,j,k; cin>>n>>x>…… 题解列表 2024年01月13日 0 点赞 0 评论 252 浏览 评分:9.9
题解 2810: 鸡尾酒疗法(精心制作,给个好评吧) 摘要:原题链接:鸡尾酒疗法解题思路:本题主要考察对循环的熟练度和对题干的理解力注意事项:循环中i的循环次数为:i<=n-1,不是n better,worse,same不要拼错(别…… 题解列表 2024年01月11日 1 点赞 0 评论 583 浏览 评分:9.9
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
题解 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: 鸡尾酒疗法 摘要:解题思路:本题主要考察对循环的熟练度和对题干的理解力注意事项:循环中i的循环次数为:i<=n-1,不是n better,worse,same不要拼错(别问我为什么要写这个,…… 题解列表 2024年01月11日 0 点赞 0 评论 413 浏览 评分:9.9