[编程入门]利润计算-最简单无脑的题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,t; scanf("%d",&a); if(a<=100000) t=a*0.1…… 题解列表 2021年03月11日 0 点赞 0 评论 383 浏览 评分:0.0
水仙花数判断 摘要:解题思路:输出所有水仙花数注意事项:无参考代码:#include <bits/stdc++.h>using namespace std;int a[1001];int main (){ cout<<1…… 题解列表 2021年03月11日 0 点赞 6 评论 489 浏览 评分:6.0
完全符合题目要求的答案 摘要:【自己理解一下吧】#pragma warning(disable:4996)#include <stdio.h>#define SIZE 16int main(void){ int num; int …… 题解列表 2021年03月11日 0 点赞 0 评论 289 浏览 评分:0.0
栈的最简单的应用——字符逆序输出 摘要:#include <stdio.h>#define SIZE 512int top = 0;char stack[SIZE];void push(char ch);char pop(void);int…… 题解列表 2021年03月11日 0 点赞 0 评论 396 浏览 评分:9.9
优质题解 题解 1418: 大神的探险 之 满载而归(C语言),分成这三种情况,你就能爬出密道 摘要: 总共需要考虑三种情况: (1)上爬的高度直接大于等于密道的深度,那么当天白天就能爬出密道,而且 不用进入黑夜下滑 (2)上爬的高度小于密道的深度,一天肯定爬不出去,…… 题解列表 2021年03月11日 0 点赞 0 评论 590 浏览 评分:6.0
等差数列最最最好理解的思路!!!!! 摘要:解题思路:借鉴了一位博主的思路,感觉很好理解。看代码注释就明白了。注意事项:参考代码:#include<iostream> #include<cstring> #include<algorithm…… 题解列表 2021年03月11日 0 点赞 0 评论 310 浏览 评分:0.0
printf Hello World! 摘要:解题思路:用printf输出一行你想表示的字符串注意事项:注意换行用\n参考代码:#include<stdio.h>int main(){ printf("*******************…… 题解列表 2021年03月11日 0 点赞 0 评论 223 浏览 评分:0.0
1923: 蓝桥杯算法提高VIP-学霸的迷宫(Python3)BFS凑合看 摘要:解题思路:注意事项:用DFS时间会超限,主要是回溯部分时间复杂度太高,BFS更适合本题多路径的思路参考代码:def bfs(): global map_, visited, dxdy, n,…… 题解列表 2021年03月11日 0 点赞 0 评论 329 浏览 评分:9.9
水仙花数的判断 摘要:解题思路:注意事项:调用pow()函数,要引用#include<math.h>的库文件参考代码:#include<iostream>using namespace std;#include<math.…… 题解列表 2021年03月11日 0 点赞 0 评论 580 浏览 评分:0.0
递推加字典 摘要:参考代码:b={1:1,2:2,3:3,4:4}for i in range(4,56): b[i]=b[i-1]+b[i-3]while True: a=int(in…… 题解列表 2021年03月10日 0 点赞 0 评论 525 浏览 评分:0.0