容易理解的C语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> void fun(char a[]) { for (int i = 0;…… 题解列表 2021年04月07日 0 点赞 0 评论 166 浏览 评分:0.0
自动晾衣机 摘要:解题思路:注意事项:下面的代码可以在我的VC上跑,不知道为啥平台上面跑不了,有无兄弟看一下啥原因参考代码:#include<stdio.h>#include<malloc.h>int main(){ …… 题解列表 2021年04月07日 0 点赞 0 评论 314 浏览 评分:0.0
数据结构-字符串连接(C语言) 摘要:解题思路:第一个字符串指针指向'\0',双指针进行赋值,当第一个字符串100个字符复制完成,但是第二个字符串的指针尚未指向'\0',此时说明第二个字符串在连接过程中被截…… 题解列表 2021年04月07日 0 点赞 0 评论 327 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量 摘要: Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.…… 题解列表 2021年04月07日 0 点赞 0 评论 431 浏览 评分:0.0
1912: 蓝桥杯算法提高VIP-盾神与条状项链 C++ STL 解决 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>using namespace std;vector<int> v;int main(){ in…… 题解列表 2021年04月07日 0 点赞 0 评论 394 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量 摘要:解题思路:注意事项:实质为求解最大公约数参考代码:#include<stdio.h>int max_num(int m,int n);int main(){ int a,b,c,max; …… 题解列表 2021年04月07日 0 点赞 0 评论 235 浏览 评分:0.0
简单的蚂蚁感冒代码,放心看 摘要:先按左右顺序排列。 如果蚂蚁向左走,以它为原点,那么如果左边有向右走的蚂蚁,那只蚂蚁就一定会感冒。而一旦被感染,则右面的向左边走的蚂蚁也会与之前被感染的接触,也会被感染。 向右走同理。如果不明白请…… 题解列表 2021年04月07日 0 点赞 0 评论 664 浏览 评分:9.9
两种代码的对比 摘要:第一种递归:超时50%#include<bits/stdc++.h>using namespace std;int muniu_num(int n){ if(n<=3) return n; retu…… 题解列表 2021年04月07日 0 点赞 1 评论 194 浏览 评分:7.3
!!绝对最简单!!!!! 摘要:解题思路:看见那个输出案例了吗?两个循环就好了,除的尽就放进计数器 然后搞完再写个循环判别你计数的因子和 回去判别是不是相同这个代码没兴趣写 ,没什么难度注意事项:复制下去注意输出参考代码:#incl…… 题解列表 2021年04月07日 0 点赞 0 评论 352 浏览 评分:0.0
简单python走起 摘要:解题思路:注意事项:参考代码:while True: mas=list(map(int,input().split())) mas.pop(0) mas.sort(reverse=T…… 题解列表 2021年04月07日 0 点赞 0 评论 325 浏览 评分:0.0