小明A+B之不会百位以上加减却会自动取余的人类幼崽(难绷) 摘要:解题思路:直接取余100就是了注意事项:对于限制输入次数的用while(n--)就完事了参考代码:#include <iostream> using namespace std; int main…… 题解列表 2023年04月04日 0 点赞 0 评论 324 浏览 评分:0.0
粗暴的九层循环遍历求解 摘要:```c #include int main(void) { int z_rank[3] = { 0 }; int w_rank[3] = { 0 }; int l_rank[3…… 题解列表 2023年04月04日 0 点赞 0 评论 463 浏览 评分:0.0
c++深度优先搜素 摘要:#include<iostream> using namespace std; int m,n,cnt=0,sum=0,step=0,ans=9999999; int dx[5]={0,-1,1…… 题解列表 2023年04月04日 0 点赞 0 评论 446 浏览 评分:0.0
题解不能标题太短,不然不让发 摘要:解题思路:按照数学公式s=Πr^2注意事项:c语言中没有Π这个符号,所以我们要在代码开头定义一个变量,使他代替Π的作用,这叫做宏定义,一般用#define+你想用的字母大写+Π值(一般定义到3.14就…… 题解列表 2023年04月04日 0 点赞 0 评论 380 浏览 评分:0.0
蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:n=int(input())a=list(map(int,input().split()))st=[0]*nflag=0cnt=0while flag==0: fo…… 题解列表 2023年04月04日 0 点赞 0 评论 338 浏览 评分:0.0
预处理+二分+单调队列求区间最值 摘要:本体思路 1.预处理矩阵O(N^2 M) 2.枚举行O(N^2),二分矩阵的宽度(log(M)) 3.单调队列求区间最大最小值 O(M) 总的时间复杂度为 O(N N M log M) 空…… 题解列表 2023年04月05日 0 点赞 0 评论 542 浏览 评分:0.0
求最大值——python 摘要:解题思路:注意事项:参考代码:while True: try: L = list(map(int,input().split())) print(f"max={max…… 题解列表 2023年04月05日 0 点赞 0 评论 322 浏览 评分:0.0
后缀子串排序——python 摘要:解题思路:注意事项:参考代码:while True: try: L = input() L2 = [] for i in range(len(L)): …… 题解列表 2023年04月05日 0 点赞 0 评论 362 浏览 评分:0.0
字符串连接——python 摘要:解题思路:注意事项:参考代码:while True: try: a,b = map(str,input().split()) print(a+b) except…… 题解列表 2023年04月05日 0 点赞 0 评论 341 浏览 评分:0.0
谁是你的潜在朋友 摘要:解题思路:注意事项:参考代码:while True: try: n,m = map(int,input().split()) L = [int(input()) fo…… 题解列表 2023年04月05日 0 点赞 0 评论 301 浏览 评分:0.0