蓝桥杯2022年第十三届省赛真题-刷题统计-简单 摘要:解题思路:注意事项:取余和取整,注意能否整除参考代码:#include <iostream> using namespace std; long long a, b, n, ans = 0; …… 题解列表 2022年04月19日 0 点赞 0 评论 1204 浏览 评分:9.8
艰难,艰难 摘要:解题思路:注意事项:参考代码:#include"stdio.h" int main(){ int a; scanf("%d",&a); if(a<=100000) a=a*0.1; else if(a…… 题解列表 2022年04月19日 0 点赞 0 评论 610 浏览 评分:9.9
菜鸟解答,大神勿喷 摘要:解题思路:注意事项:参考代码:#include"stdio.h" int main(){ int a,b,c,d,e,t,g; scanf("%d",&g); if(g>9999) t=5; else…… 题解列表 2022年04月19日 0 点赞 0 评论 585 浏览 评分:9.9
自定义函数之数字分离 摘要:解题思路:题目求只是四位数注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a>=1000&&a<=1000…… 题解列表 2022年04月19日 0 点赞 0 评论 665 浏览 评分:9.9
编写题解 1040: [编程入门]实数的打印(python 超短) 摘要:#只要理解代码的每个部分在干什么就可以了user = float(input()) for i in range(1, 4): print(("{:6.2f} ".format(user)…… 题解列表 2022年04月18日 0 点赞 0 评论 1045 浏览 评分:9.9
编写题解 1486: 蓝桥杯算法提高VIP-一元一次方程 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double a,b; …… 题解列表 2022年04月18日 0 点赞 0 评论 595 浏览 评分:0.0
编写题解 1509: 蓝桥杯算法提高VIP-图形输出 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<" X | X | X "<<endl; co…… 题解列表 2022年04月18日 0 点赞 0 评论 537 浏览 评分:0.0
信息学奥赛一本通T1252-走迷宫 —— Python首发 BFS广度优先搜索 (Python代码) #####先上代码:```pythonfromqueueimportQueueasQuclassBFSNode():#节点def__init__(self,x,y,step):#创建三个节点内容self.x,self.y=x,y#x和y对应着bfs中的节点位置self.step=step#step为步 题解列表 2022年04月18日 0 点赞 2 评论 1139 浏览 评分:10.0
编写题解 1073: 弟弟的作业(python 简单易懂) 摘要:score = 0 while True: try: user = input().split("=") if user[1] == "?&quo 题解列表 2022年04月18日 0 点赞 0 评论 1144 浏览 评分:9.3
蓝桥杯2016年第七届真题-最大比例 解题思路:注意事项:参考代码:frommathimport*n=int(input())l=list(map(int,input().split()))s=set(l)l=list(s)l.sort()ans=[]foriinrange(len(l)-1):x=l[i+1]/l[i]a=gcd(l[i 题解列表 2022年04月18日 0 点赞 0 评论 777 浏览 评分:9.9