Cylinder(C++代码) 摘要:解题思路:注意事项:1.double类型 2.w>0参考代码:#include <iostream>#define PI 3.141592653589793238#inc…… 题解列表 2022年02月02日 0 点赞 0 评论 568 浏览 评分:0.0
数据结构-静态表的顺序查找(加油,可以的!) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int search(int arry[],int t,int n){ int i=0; arry[-1]=t;//t为要找的值 fo…… 题解列表 2022年02月02日 0 点赞 0 评论 567 浏览 评分:0.0
通过取余,循环来实现各种不同输入情况的对应密码 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<string>int main(){ string s; cin…… 题解列表 2022年02月02日 0 点赞 0 评论 288 浏览 评分:0.0
Hifipsysta-1139题-C语言训练-求素数问题(C++代码) 摘要:```cpp #include using namespace std; bool is_prime(int n){ for(int i=2;i>n; for(int…… 题解列表 2022年02月03日 0 点赞 0 评论 312 浏览 评分:0.0
[编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std; int main(){ int n,k,i,m; cin>>n; int a[n…… 题解列表 2022年02月03日 0 点赞 0 评论 290 浏览 评分:0.0
最短代码解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,n; scanf("%d",&n); a = 24690; printf("…… 题解列表 2022年02月03日 0 点赞 0 评论 325 浏览 评分:0.0
python-四平方和 摘要:解题思路:注意事项:参考代码:from math import sqrt def f(n): for i in range(int(sqrt(n))+1): …… 题解列表 2022年02月03日 0 点赞 0 评论 558 浏览 评分:0.0
蓝桥杯算法提高- c++_ch03_02 (Java代码) 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { Sca…… 题解列表 2022年02月03日 0 点赞 0 评论 238 浏览 评分:0.0
题目 1462: 蓝桥杯基础练习VIP-Huffuman树(JAVA+优先队列) 摘要: ####代码 ```java import java.util.*; public class Main{ public static void main(String[] a…… 题解列表 2022年02月03日 0 点赞 0 评论 362 浏览 评分:0.0
题解 1523: 蓝桥杯算法提高VIP-打水问题(JAVA+贪心) 摘要:#### 贪心策略 给所有取水人员编号为 0 ~ n-1, 水龙头编号为 0 ~ t-1,对所有人的取水时间按从小到大排序,然后从 0 号人员开始,依次安排到对应的水龙头(即 count % t)…… 题解列表 2022年02月03日 0 点赞 0 评论 503 浏览 评分:0.0