蓝桥杯算法提高VIP-求圆面积表面积体积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define PI 3.1415926536int main(){ double s1,s2,s3,r; scan…… 题解列表 2023年01月07日 0 点赞 0 评论 498 浏览 评分:0.0
用临时数组代替for里面套用sum求和函数 摘要:解题思路:注意事项:参考代码:"""for里面套用sum绝对超时采用建立临时数组(存放数据的和)"""num=eval(input())list1=list(map(int,input().split…… 题解列表 2023年01月07日 0 点赞 1 评论 412 浏览 评分:0.0
阿姆斯特朗数(C++简易版本)只需要一个空格!!! 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<set>using namespace std;int main(){ int i,a=0,b=0,c=0,d=…… 题解列表 2023年01月07日 0 点赞 0 评论 395 浏览 评分:0.0
三个字符串的排序 摘要:参考代码 #include #include #include #define n 100 int main(void) { c…… 题解列表 2023年01月08日 0 点赞 0 评论 420 浏览 评分:0.0
统计数字字符个数 摘要:解题思路:用ASCII码值实现注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>void countnumber(const cha…… 题解列表 2023年01月08日 0 点赞 0 评论 605 浏览 评分:0.0
二分-时间复杂度n*logn 摘要:解题思路:注意事项:参考代码:"""暴力做法:使用index查找元素 但是每次要进行排序 时间复杂度 n*n*logn正确做法:使用二分查找 在for之前排序一次 时间复杂度 n*logn二分思路:由…… 题解列表 2023年01月08日 0 点赞 0 评论 352 浏览 评分:0.0
编写题解 1390: 大神老白 摘要:解题思路:注意事项:参考代码:#include <math.h> #include <stdio.h> #include <stdlib.h> int main() { int a, …… 题解列表 2023年01月08日 0 点赞 0 评论 343 浏览 评分:0.0
数据结构-字符串插入(C语言) 摘要:#include<stdio.h> #include<string.h> int main() { char str1[127], str2[127]; int n; scanf("…… 题解列表 2023年01月08日 0 点赞 0 评论 517 浏览 评分:0.0
编写题解 1030: [编程入门]二维数组的转置 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int change(int arr[][3]) { for…… 题解列表 2023年01月08日 0 点赞 0 评论 361 浏览 评分:0.0