编写题解 1123: C语言训练-列出最简真分数序列* 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("1/40,3/40,7/40,9/40,11/40,13/40,17/40,19/40,21/4…… 题解列表 2022年03月09日 0 点赞 0 评论 331 浏览 评分:0.0
字符串对比题解 摘要:解题思路:注意事项:参考代码:a=input()b=input()if a==b: print(2)else: if len(a)==len(b): if a.lower()…… 题解列表 2022年03月09日 0 点赞 0 评论 354 浏览 评分:0.0
编写题解 1143: C语言训练-素数问题 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<stdio.h>using namespace std;int main(){ int m; bool …… 题解列表 2022年03月09日 0 点赞 0 评论 342 浏览 评分:0.0
写题解 1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int m,i; char str[51]; gets(str); m=st…… 题解列表 2022年03月09日 0 点赞 0 评论 403 浏览 评分:0.0
2026: 糖块粘合 摘要:解题思路:注意事项:注意糖块融合后形成的糖块和后面一个糖块可以融合参考代码:#include<bits/stdc++.h> using namespace std; int f(int x[][3…… 题解列表 2022年03月09日 0 点赞 0 评论 299 浏览 评分:0.0
蓝桥杯2014年第五届真题-兰顿蚂蚁py暴力求解 摘要:参考代码:m,n = map(int,input().split())li = []for i in range(m): li.append(list(map(int,input().s…… 题解列表 2022年03月09日 0 点赞 0 评论 333 浏览 评分:0.0
做题记录2022.3.9(ac:100%) 摘要:解题思路:模拟题目描述的蚂蚁行动规则注意事项:参考代码:m, n = map(int, input().strip().split()) matrix = [] for i in range(m)…… 题解列表 2022年03月09日 0 点赞 0 评论 313 浏览 评分:0.0
蓝桥杯2020年第十一届省赛真题-八次求和 摘要:解题思路:注意事项:参考代码:n=int(input())sun=0for i in range(1,n+1): sun+=i**8print(sun%123456789)…… 题解列表 2022年03月09日 0 点赞 1 评论 417 浏览 评分:0.0
暴力递归解法 ,表达能力有限,不喜勿喷 摘要:解题思路:先判断是否能变换成回文串 进行递归求解变换次数注意事项:参考代码: static int count=0; //计数变换的次数 static int[…… 题解列表 2022年03月09日 0 点赞 0 评论 424 浏览 评分:0.0
C语言训练-自守数问题(C语言)个人易错点 摘要:解题思路:先确定是几位数,对应在平方和之后剩几位进行比较注意事项:参数类型为long long确定位数和取末尾几位所用数字不一样,差一个0关于输出格式,解决办法是单独输出0,其后先输出两个空格,再输出…… 题解列表 2022年03月09日 0 点赞 0 评论 397 浏览 评分:0.0