[编程入门]结构体之时间设计(C语言代码)简单易懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct date{ int year; int month; int day;};int Nowday(str…… 题解列表 2021年03月19日 0 点赞 0 评论 613 浏览 评分:0.0
Minesweeper c++代码 摘要:解题思路:将'.'转化为'0',找到'*'后,周围加+。注意事项:check函数中,不需要检测有无越界,输出时限界输出。参考代码:#include <i…… 题解列表 2021年03月19日 0 点赞 0 评论 623 浏览 评分:0.0
字符串正反连接代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { char a[100]; int i,n; scanf("%s",&a); n=strl…… 题解列表 2021年03月19日 0 点赞 0 评论 568 浏览 评分:0.0
题解 1048: [编程入门]自定义函数之字符串拷贝 摘要:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>void copy(char str1[],char str2[],int n,in…… 题解列表 2021年03月20日 0 点赞 0 评论 542 浏览 评分:0.0
python解决Tom数 摘要:参考代码:def DigitCount(n): result = 0 while n != 0: result += n % 10 题解列表 2021年03月20日 0 点赞 0 评论 559 浏览 评分:0.0
蓝桥杯][算法提高VIP]五次方数 #MarkDown编辑器基本使用说明publicclass五次方数{/***@paramargs*/publicstaticvoidmain(String[]args){//TODOAuto-generatedmethodstub//根据推论9的5次方等于59049,所以当增加6位999999时, 题解列表 2021年03月20日 0 点赞 0 评论 970 浏览 评分:0.0
python解决回文数字 摘要:解题思路:思路清晰简单参考代码:# 求数字各位数之和 def DigitCount(n): result = 0 s = str(n) lenth = len(s) …… 题解列表 2021年03月20日 0 点赞 0 评论 629 浏览 评分:0.0
我的思路哦 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n, a[100], i; while (scanf("%d", &n)…… 题解列表 2021年03月20日 0 点赞 0 评论 736 浏览 评分:0.0
BFS加visited记录路径(注意前进顺序是下左右上) 解题思路:bfs找路径不同的是路过一个点,不是像往常那样,把visited[x][y]记为1,而是记下怎么到的这个点,如1,2前进到1,3。那么是往右一个单位,记下R,从而记录路径]注意事项:这题很坑的是有时候最短路径有很多可能,但是官方答案只认其中一种,官方答案要求的前进顺序是下左右上。 题解列表 2021年03月20日 0 点赞 0 评论 968 浏览 评分:0.0
蓝桥杯][算法提高VIP]分分钟的碎碎念 摘要:解题思路:注意事项:参考代码:n=int(input()) f=[] value=[] for i in range(1,n): f.append('from[{}]'.…… 题解列表 2021年03月20日 0 点赞 0 评论 556 浏览 评分:0.0