兄弟们,有没有更简单的来分享分享 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double xulie(int n){ double o=2,m=1,s=0; for(int i=1;i<=n;i++) { s…… 题解列表 2021年08月12日 0 点赞 3 评论 530 浏览 评分:0.0
蓝桥杯算法训练-排序 不用(for)的代码 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[3],i; for(i=0;i<3;i++) c…… 题解列表 2021年08月12日 0 点赞 0 评论 246 浏览 评分:9.9
链表报数问题 C++,stl-list 摘要:解题思路:有n个人围成一圈,顺序从1开始排号。从第1个人开始报数(从1到3报数),凡报到3的人退出圈子,(之后再从一数到三),问最后留下的是原来第几号的那位。要求用循环链表实现。这里的想法和题目中描述…… 题解列表 2021年08月12日 0 点赞 0 评论 287 浏览 评分:0.0
【计算直线的交点数】 (Java语言代码) 摘要:参考代码:import java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; public clas…… 题解列表 2021年08月12日 0 点赞 0 评论 1154 浏览 评分:9.9
二级C语言-自定义函数,c语言简单代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h> double fact(int n) { double t=1; for(int i=1;i<=n;i++)…… 题解列表 2021年08月11日 0 点赞 0 评论 245 浏览 评分:9.9
6666666666阿萨德 摘要:解题思路:注意事项:参考代码:// ConsoleApplication1.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <iostream>#i…… 题解列表 2021年08月11日 0 点赞 0 评论 209 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ printf(" * \n"); printf(" * * \n"); printf("*****\n")…… 题解列表 2021年08月11日 0 点赞 0 评论 148 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float a,b; scanf("%f",&a); b=50+0.4*a; printf("%.1f",b)…… 题解列表 2021年08月11日 0 点赞 0 评论 166 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,C,S; scanf("%d %d",&a,&b); printf("C:%d\nS:%d",…… 题解列表 2021年08月11日 0 点赞 0 评论 202 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); printf("%d",a*a+b*b); re…… 题解列表 2021年08月11日 0 点赞 0 评论 136 浏览 评分:0.0