(个人思维) [编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:输出部分一定要分成两部分,不能同时输出!!!参考代码:#include<stdio.h>#include<string.h>#include<math.h>int main(){ …… 题解列表 2022年03月10日 0 点赞 0 评论 270 浏览 评分:9.9
C语言训练-邮票组合问题* 摘要:解题思路:双重for循环找到两种邮票的任意组合,排除都为0的情况,用数组记录邮费,同时排除邮费重复的情况,返回数组号注意事项:参考代码:#include <stdio.h>int main(){ …… 题解列表 2022年03月10日 0 点赞 0 评论 422 浏览 评分:0.0
数组排序(垃圾题目,这都能花了我两个小时) 摘要:解题思路: 垃圾题目,这都能花了我两个小时注意事项:参考代码:#include<stdio.h>int main(){ int flag=1,a[10000],t,n,…… 题解列表 2022年03月10日 0 点赞 0 评论 571 浏览 评分:5.0
1431: 蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:n = eval(input()) l = list(map(int, input().split())) s = 0 while True: for i…… 题解列表 2022年03月10日 0 点赞 0 评论 306 浏览 评分:0.0
写题解 1127: C语言训练-尼科彻斯定理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,b; scanf("%d",&n); printf("%d*%d*%…… 题解列表 2022年03月10日 0 点赞 0 评论 387 浏览 评分:0.0
写题解 1128: C语言训练-排序问题<1> 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int str[4]; for(int i=0;i<4;i++) { scan…… 题解列表 2022年03月10日 0 点赞 0 评论 323 浏览 评分:0.0
做题记录2022.3.10(ac:100%) 摘要:解题思路:我也没有思路,写的题多了,也便有了套路按照代码注释的交换字符就能得到下一个字典序字符串注意事项:参考代码:temp = input().strip() string = list(temp…… 题解列表 2022年03月10日 0 点赞 0 评论 326 浏览 评分:9.9
写题解 1131: C语言训练-斐波纳契数列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n; scanf("%d",&n); int str[40]; str[…… 题解列表 2022年03月10日 0 点赞 0 评论 403 浏览 评分:0.0
模拟回文日期 摘要:代码:#include<iostream> #include<algorithm> using namespace std; int n; bool isLeap(int y) { …… 题解列表 2022年03月10日 0 点赞 1 评论 502 浏览 评分:9.9
1873: 蓝桥杯2017年第八届真题-合根植物-----C++代码 摘要:解题思路:并查集思想: 1.初始化:每个结点的父亲结点首先设为它本身。 2.路径压缩(解决特殊情况下的树的层次深而造成的复杂度增大的问题) …… 题解列表 2022年03月10日 1 点赞 0 评论 472 浏览 评分:9.9