多组输入的循环方式解决 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>int main() { int n; scanf("%d", &n);…… 题解列表 2023年07月31日 0 点赞 0 评论 167 浏览 评分:0.0
胡说八道式解释答案, 没有详细介绍 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main ( ){ int n ; int a , b , c, d ; float x ,y ; …… 题解列表 2024年11月05日 0 点赞 0 评论 158 浏览 评分: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 评论 149 浏览 评分:0.0
鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>#include <complex.h> int main() { int n, x, y[2…… 题解列表 2023年11月10日 0 点赞 0 评论 120 浏览 评分:0.0
2810: 鸡尾酒疗法 顺着思路走吧,先不管其他的了 摘要:#include <iostream> using namespace std; int main(){ int n; cin >>n; //第一行为整数n( 1 < n <= 2…… 题解列表 2023年04月11日 0 点赞 0 评论 146 浏览 评分:0.0
看到那么多字就头晕,细下心来读出数学公式即可 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int a[100][2]; //定义个二维数组,存放每组数据 scanf("…… 题解列表 2023年01月19日 0 点赞 0 评论 186 浏览 评分:0.0
鸡尾酒疗法,简单方法 摘要:解题思路:注意事项:用整形数据进行除法是要在前面乘以1.0。将其换成浮点型的数据也是可以的。参考代码:#include<stdio.h>int main(){ int n,i,a,b,x,y; …… 题解列表 2023年01月07日 0 点赞 0 评论 336 浏览 评分:2.6
对题2810:利用循环语句输入多组数据,并判断与参考数据的关系 摘要:解题思路:首先需要输入n组数据,其中第一组数据为参考数据,其余n-1组数据均需要与第一组数据进行比较,从而得出是否更加有效。可以采用一个条件语句进行判断,如果n为输入时的n,便将n20/n10的值记录…… 题解列表 2024年09月08日 0 点赞 0 评论 116 浏览 评分:6.0
数组+循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; double x,y[100],j,k; scanf("%d",&n); scanf("%lf %…… 题解列表 2022年12月30日 0 点赞 0 评论 222 浏览 评分:6.0
鸡尾酒疗法C语言解法 摘要:解题思路:数组思想注意事项:参考代码:#include<stdio.h>int ans[10001];int main(){ int n,i,y1,y2; int a,b; floa…… 题解列表 2022年12月11日 0 点赞 0 评论 537 浏览 评分:6.5