1055: 二级C语言-进制转换-python 摘要:解题思路:略注意事项:不用输出前缀参考代码:# -*- coding: utf-8 -*- """ python test 在交互模式下,使用:exit() 退出 """ x = input…… 题解列表 2021年04月04日 0 点赞 0 评论 589 浏览 评分:8.7
纯粹的暴力求解 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int fun(int i) { int n1, n2, n3, n4, n5, n6; if (i / 1…… 题解列表 2021年04月04日 0 点赞 0 评论 170 浏览 评分:0.0
容易理解的C语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char a[81]; int coun…… 题解列表 2021年04月04日 0 点赞 0 评论 158 浏览 评分:0.0
容易理解的C语言代码 摘要:解题思路:直接复制过去就可以了注意事项:参考代码:#include <stdio.h> int main() { printf(" X | X | X\n"); printf(…… 题解列表 2021年04月04日 0 点赞 0 评论 166 浏览 评分:0.0
夺宝奇兵易懂算法 摘要:```cpp 因为每个数字他只可能从下面或者右下角走上来 所以我们只需要从这两个位置判断哪个比较大就好了 因此状态方程为f[i][j]=max(f[i+1][j]+f[i][j],f[i+1][…… 题解列表 2021年04月04日 0 点赞 0 评论 411 浏览 评分:9.9
数的划分(盒子放球) 摘要:```cpp 类似于盒子里面放球 定义f[i][j]表示i个球j个盒子 划分方式为每个盒子至少两个球和至少有一个盒子是一个球 所以状态方程为f[i][j]=f[i-j][j]+f[i-1][j…… 题解列表 2021年04月04日 0 点赞 0 评论 451 浏览 评分:0.0
编写题解 1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:lst = list(map(int,input().split())) print(max(lst))…… 题解列表 2021年04月04日 0 点赞 0 评论 537 浏览 评分:8.0
编写题解 2002: 计算数字个数 摘要:解题思路:注意事项:参考代码:x = input() count=0 for i in x: if i>='0': if i<='9':…… 题解列表 2021年04月04日 0 点赞 0 评论 445 浏览 评分:0.0
DFS(),内存超限 摘要:解题思路: DFS() 总数=能到达顶部的路径数*pow(4,n) (路径数不考虑四侧的情况, 故需要乘以pow(4,n) )注意事项: 说明啊!!!!程序没通…… 题解列表 2021年04月04日 0 点赞 0 评论 570 浏览 评分:9.9
编写题解 1255: 蓝桥杯算法提高-能量项链 摘要:解题思路:采取递归+深搜思想,将所有可能的结果都整一遍,选出最大值注意事项:参考代码:#include<iostream>#include<list>#include<algorithm>using …… 题解列表 2021年04月05日 0 点赞 0 评论 446 浏览 评分:9.9