鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>#include <complex.h> int main() { int n, x, y[2…… 题解列表 2023年11月10日 0 点赞 0 评论 570 浏览 评分:0.0
编写题解 2810: 鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n=0; scanf("%d&…… 题解列表 2025年12月25日 0 点赞 0 评论 398 浏览 评分:0.0
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 参考代码:#includeintmain(){intn,a,b,c,d,i;doublex,y;scanf("%d",&n);scanf("%d%d",&a,&b);x=(double)b/a;for(i=1;i<=(n-1);i++){scanf("%d%d", 题解列表 2025年11月09日 0 点赞 0 评论 433 浏览 评分:0.0
2025/7/30刷题记录 解题思路:注意事项:浮点数==浮点数判断会有精度损失所以最后将这个判断放在else中参考代码:#include#includeintmain(){intnum;scanf("%d",&num);doubleji=0;for(inti=0;i 题解列表 2025年07月30日 0 点赞 0 评论 417 浏览 评分:0.0 胡说八道式解释答案, 没有详细介绍 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main ( ){ int n ; int a , b , c, d ; float x ,y ; …… 题解列表 2024年11月05日 2 点赞 0 评论 638 浏览 评分: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 评论 502 浏览 评分:0.0 多组输入的循环方式解决 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>int main() { int n; scanf("%d", &n);…… 题解列表 2023年07月31日 0 点赞 0 评论 575 浏览 评分:0.0 2810: 鸡尾酒疗法 顺着思路走吧,先不管其他的了 摘要:#include <iostream> using namespace std; int main(){ int n; cin >>n; //第一行为整数n( 1 < n <= 2…… 题解列表 2023年04月11日 0 点赞 0 评论 553 浏览 评分:0.0 看到那么多字就头晕,细下心来读出数学公式即可 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int a[100][2]; //定义个二维数组,存放每组数据 scanf("…… 题解列表 2023年01月19日 0 点赞 0 评论 517 浏览 评分:0.0 鸡尾酒疗法,简单方法 摘要:解题思路:注意事项:用整形数据进行除法是要在前面乘以1.0。将其换成浮点型的数据也是可以的。参考代码:#include<stdio.h>int main(){ int n,i,a,b,x,y; …… 题解列表 2023年01月07日 0 点赞 0 评论 722 浏览 评分:2.6 « 12 »
胡说八道式解释答案, 没有详细介绍 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main ( ){ int n ; int a , b , c, d ; float x ,y ; …… 题解列表 2024年11月05日 2 点赞 0 评论 638 浏览 评分: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 评论 502 浏览 评分:0.0
多组输入的循环方式解决 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>int main() { int n; scanf("%d", &n);…… 题解列表 2023年07月31日 0 点赞 0 评论 575 浏览 评分:0.0
2810: 鸡尾酒疗法 顺着思路走吧,先不管其他的了 摘要:#include <iostream> using namespace std; int main(){ int n; cin >>n; //第一行为整数n( 1 < n <= 2…… 题解列表 2023年04月11日 0 点赞 0 评论 553 浏览 评分:0.0
看到那么多字就头晕,细下心来读出数学公式即可 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int a[100][2]; //定义个二维数组,存放每组数据 scanf("…… 题解列表 2023年01月19日 0 点赞 0 评论 517 浏览 评分:0.0
鸡尾酒疗法,简单方法 摘要:解题思路:注意事项:用整形数据进行除法是要在前面乘以1.0。将其换成浮点型的数据也是可以的。参考代码:#include<stdio.h>int main(){ int n,i,a,b,x,y; …… 题解列表 2023年01月07日 0 点赞 0 评论 722 浏览 评分:2.6