自定义函数之数字分离 摘要:解题思路:题目求只是四位数注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a>=1000&&a<=1000…… 题解列表 2022年04月19日 0 点赞 0 评论 427 浏览 评分:9.9
编写题解 1040: [编程入门]实数的打印(python 超短) 摘要:#只要理解代码的每个部分在干什么就可以了user = float(input()) for i in range(1, 4): print(("{:6.2f} ".format(user)…… 题解列表 2022年04月18日 0 点赞 0 评论 836 浏览 评分:9.9
编写题解 1486: 蓝桥杯算法提高VIP-一元一次方程 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double a,b; …… 题解列表 2022年04月18日 0 点赞 0 评论 368 浏览 评分:0.0
编写题解 1509: 蓝桥杯算法提高VIP-图形输出 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<" X | X | X "<<endl; co…… 题解列表 2022年04月18日 0 点赞 0 评论 316 浏览 评分:0.0
信息学奥赛一本通T1252-走迷宫 —— Python首发 BFS广度优先搜索 (Python代码) 摘要:##### 先上代码: ```python from queue import Queue as Qu class BFSNode(): # 节点 def __init__(sel…… 题解列表 2022年04月18日 0 点赞 2 评论 922 浏览 评分:10.0
编写题解 1073: 弟弟的作业(python 简单易懂) 摘要:score = 0 while True: try: user = input().split("=") if user[1] == "?&quo 题解列表 2022年04月18日 0 点赞 0 评论 870 浏览 评分:9.3
蓝桥杯2016年第七届真题-最大比例 摘要:解题思路:注意事项:参考代码:from math import *n=int(input())l=list(map(int,input().split()))s=set(l)l=list(s)l.so…… 题解列表 2022年04月18日 0 点赞 0 评论 574 浏览 评分:9.9
1575: 蓝桥杯算法提高VIP-递归倒置字符数组 摘要:解题思路:注意事项:参考代码:#include <stdio.h> void digui(char *str, int m, int n) { if(n <= m) {…… 题解列表 2022年04月18日 0 点赞 0 评论 250 浏览 评分:0.0
编写题解 1265: 青年歌手大奖赛_评委会打分 摘要:解题思路:利用STL中deque容器,(双端数组)。方便头删尾删。注意事项:记得每一次输出完清空容器。参考代码:#include<iostream>using namespace std;#inclu…… 题解列表 2022年04月18日 0 点赞 0 评论 514 浏览 评分:9.9
因式分解,数学是算法的基石,学好数理化,走遍天下都不怕 摘要:解题思路:用初中所学知识因式分解来做,如果按正常for循环暴力累乘的话肯定会超时注意事项:数据范围给的是20万,注意不要开小了参考代码:#include <iostream> using names…… 题解列表 2022年04月18日 0 点赞 2 评论 1839 浏览 评分:9.9