密码破译题解(钻程序漏洞)(最简洁)(空间最小)(C++版) 摘要:解题思路:黑盒测试,只需猜中测试点即可。参考代码:#include<iostream>using namespace std;int main(){printf("%s","Glmre");}…… 题解列表 2023年02月02日 0 点赞 0 评论 290 浏览 评分:4.0
2807:****(标题有敏感词) 摘要:解题思路:注意事项:参考代码:r,m,y = map(int,input().split())r = r * 0.01for i in range(0,y): m += m * rprint(i…… 题解列表 2023年02月07日 0 点赞 1 评论 373 浏览 评分:4.0
感谢支持(谢谢) 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb,xc,yc; cin>>xa…… 题解列表 2023年04月29日 0 点赞 0 评论 179 浏览 评分:4.0
扫雷游戏地雷数计算 摘要:解题思路:把*号周围的数字都++注意事项:参考代码:#include<iostream>using namespace std;int main(){ //把*号周边的数++ int n,m; ch…… 题解列表 2023年05月19日 1 点赞 0 评论 402 浏览 评分:4.0
纯规律,不使用循环 摘要:解题思路:找到规律,不能被平分差的数的是 (x-2)%4 == 0, 然后判断 L,R中有多少个这样的数注意事项:参考代码:#include<bits/stdc++.h>#define ikun co…… 题解列表 2023年06月08日 0 点赞 1 评论 796 浏览 评分:4.0
循环(就是一个01背包问题,大一上学期看了好久,2023蓝桥杯的那个炼铁一样的题型) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;const int T=101,M=1001;int cost[T],value[T],dp[…… 题解列表 2023年06月24日 0 点赞 0 评论 616 浏览 评分:4.0
求矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10][10]; int N; int x,y; int sum =0; …… 题解列表 2023年07月06日 0 点赞 0 评论 154 浏览 评分:4.0
3150: 蓝桥杯2023年第十四届省赛真题-冶炼金属 摘要:解题思路:其实这是一道数学题,根据给出的样例进行计算,比如75 3 这组,所求V在V*3>=75并且V*4<75,分别向上取整和向下取整就能获得这组的最大最小,一共n组,在这n组中向上取整的取最大值,…… 题解列表 2023年08月17日 0 点赞 0 评论 515 浏览 评分:4.0
[编程入门]超精简28行代码解决(容易理解) 摘要:解题思路:使用结构指针存放信息注意事项:参考代码:struct stu { char xh[10]; char xm[10]; int xf[3]; }; char …… 题解列表 2023年08月19日 0 点赞 0 评论 168 浏览 评分:4.0
邮票问题,C语言解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m=4,n=3; int ans,sum=0; for(int i=1;i<=m+n;i++){//总共…… 题解列表 2023年09月06日 0 点赞 0 评论 289 浏览 评分:4.0