自定义函数求一元二次方程-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int gen(float a,float b,float c){ float D,x1,x2,x…… 题解列表 2021年12月10日 0 点赞 0 评论 465 浏览 评分:0.0
1439: 蓝桥杯历届试题-小朋友排队 python 时间超限 摘要: n = int(input()) a = list(map(int,input().strip().split())) a.insert(0,0) b…… 题解列表 2021年12月10日 0 点赞 0 评论 933 浏览 评分:0.0
自定义函数处理素数-C语言 摘要:解题思路:首先注意1既不是素数也不是偶数,所以i从2开始计数;遍历在2~n之间是否存在i值能被n整除,如存在则n为非素数;注意事项:找到一个能被n整除的i后即刻用break跳出for循环,不然会打印n…… 题解列表 2021年12月10日 0 点赞 0 评论 578 浏览 评分:0.0
蓝桥杯算法提高VIP-插入排序 摘要:解题思路: 这题有问题注意事项:参考代码:#include<iostream> #include<cstdio> using namespace std; long long sum[200]…… 题解列表 2021年12月10日 0 点赞 0 评论 567 浏览 评分:0.0
蓝桥杯算法提高VIP-身份证排序 (C++) 摘要:解题思路: 数组比<vector>快一些#include<iostream> #include<algorithm> #include<vector> #include<cstdio> ty…… 题解列表 2021年12月10日 0 点赞 0 评论 617 浏览 评分:0.0
1046: [编程入门]自定义函数之数字后移 摘要:import java.io.*; /** * 善用 System.arraycopy() */ public class Main { public static Bu…… 题解列表 2021年12月10日 0 点赞 0 评论 374 浏览 评分:0.0
编写题解 1067: 二级C语言-分段函数 摘要:解题思路:注意事项:#include<iostream>#include<cmath>using namespace std;int main(){ double x,y; cin>>x;…… 题解列表 2021年12月10日 0 点赞 0 评论 330 浏览 评分:0.0
1196: 去掉空格 摘要:关键是运用find()函数和erase()函数。#include<bits/stdc++.h> using namespace std; int main(){ vector<in…… 题解列表 2021年12月10日 0 点赞 0 评论 787 浏览 评分:0.0
蓝桥杯算法提高VIP-选择排序(C++) 非递归 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> #include<cstdio> using namespace std; int …… 题解列表 2021年12月10日 0 点赞 0 评论 472 浏览 评分:0.0
1130: C语言训练-数字母 摘要:此题关键是使用isalpha()函数,注意读数据使用getline()。(尽管使用cin也能过)#include<bits/stdc++.h> using namespace std; int m…… 题解列表 2021年12月10日 0 点赞 0 评论 451 浏览 评分:0.0