因式分解,数学是算法的基石,学好数理化,走遍天下都不怕 摘要:解题思路:用初中所学知识因式分解来做,如果按正常for循环暴力累乘的话肯定会超时注意事项:数据范围给的是20万,注意不要开小了参考代码:#include <iostream> using names…… 题解列表 2022年04月18日 0 点赞 2 评论 1917 浏览 评分:9.9
编写题解 1265: 青年歌手大奖赛_评委会打分 摘要:解题思路:利用STL中deque容器,(双端数组)。方便头删尾删。注意事项:记得每一次输出完清空容器。参考代码:#include<iostream>using namespace std;#inclu…… 题解列表 2022年04月18日 0 点赞 0 评论 570 浏览 评分:9.9
蓝桥杯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 评论 632 浏览 评分:9.9
编写题解 1040: [编程入门]实数的打印(python 超短) 摘要:#只要理解代码的每个部分在干什么就可以了user = float(input()) for i in range(1, 4): print(("{:6.2f} ".format(user)…… 题解列表 2022年04月18日 0 点赞 0 评论 902 浏览 评分:9.9
自定义函数之数字分离 摘要:解题思路:题目求只是四位数注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a>=1000&&a<=1000…… 题解列表 2022年04月19日 0 点赞 0 评论 491 浏览 评分: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 评论 445 浏览 评分:9.9
艰难,艰难 摘要:解题思路:注意事项:参考代码:#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 评论 474 浏览 评分:9.9
题目 2657: 蓝桥杯2022年第十三届省赛真题-修剪灌木-7行 摘要:解题思路:找到离两边的最大值在*2注意事项:参考代码:#include <iostream> using namespace std; int main() { int n; …… 题解列表 2022年04月19日 0 点赞 1 评论 1099 浏览 评分:9.9
蓝桥杯2018年第九届真题-等腰三角形 摘要:解题思路:注意事项:参考代码:n=int(input())s=''for i in range(1,1000): s+=str(i)l=[['.'for j in…… 题解列表 2022年04月19日 0 点赞 0 评论 649 浏览 评分:9.9
C++代码 二级C语言-等差数列 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int num; int sum=0; cin>>n; …… 题解列表 2022年04月19日 0 点赞 0 评论 569 浏览 评分:9.9