编写题解 1556: 蓝桥杯算法提高VIP-统计单词数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char arr[2000] = { 0 }, ar[500][500…… 题解列表 2024年04月01日 0 点赞 0 评论 755 浏览 评分:9.9
小白也能看懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i,n; scanf("%d",&n); char arr[5000…… 题解列表 2024年04月01日 0 点赞 0 评论 557 浏览 评分:0.0
和采药一样 摘要:#include <stdio.h>int max(int a,int b){ if(a>b) { return a; }else{ return b; …… 题解列表 2024年03月31日 0 点赞 0 评论 557 浏览 评分:9.9
暴力骗分+dfs剪叶+动态规划 摘要:解题思路:注意事项:参考代码://李白打酒加强版 #include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#d…… 题解列表 2024年03月31日 0 点赞 0 评论 712 浏览 评分:0.0
题解 1234: 检查一个数是否为质数 摘要:解题思路:循环+判断注意事项:注意事项:别抄我的,抄我的人我诅咒他电脑10秒关机参考代码:#include<bits/stdc++.h>using namespace std;int main(){s…… 题解列表 2024年03月31日 0 点赞 0 评论 471 浏览 评分:4.0
暴力搜索(小白勿喷) 摘要:解题思路: 暴力不用带脑子,知道临界条件后,其他的都交给计算机就行注意事项:参考代码:#include <stdio.h>int n[10010]={0};int count;int max=0,mi…… 题解列表 2024年03月31日 0 点赞 0 评论 603 浏览 评分:0.0
题解 2773: 计算线段长度 C语言中pow函数的声明:doublepow(doublex,doubley)pow(x,y):x的y次幂```c#include#includeintmain(){doublex_a,y_a,x_b,y_b;scanf("%lf%lf%lf%lf", 题解列表 2024年03月31日 0 点赞 0 评论 472 浏览 评分:0.0
简单明了,两个数组,C语言 摘要:参考代码:#include<stdio.h>int main(){ float sum=0.0,num[10],m[]={28.9,32.7,45.6,78.0,35.0,86.2,27.8,43.0…… 题解列表 2024年03月31日 0 点赞 0 评论 523 浏览 评分:0.0
数组插入处理 摘要:解题思路:我并没有采用将比较的那个数插入数组中进行比较然后排序输出(因为不会,哈哈哈),而是直接进行比较然后输出注意事项:需要单独输出比较的那个数参考代码: int main(){ i…… 题解列表 2024年03月31日 0 点赞 0 评论 542 浏览 评分:0.0
比较简单的一种方法 摘要:解题思路:先看题目,找出规律注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,i,cnt=0; long int a[3000]…… 题解列表 2024年03月30日 0 点赞 0 评论 666 浏览 评分:9.9