标准 A+B for Input-Output Practice (IV) 摘要:解题思路:用数组存放每次结果,再依次输出。注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int i=0; int…… 题解列表 2024年03月16日 0 点赞 0 评论 592 浏览 评分:9.9
题解 1234: 检查一个数是否为质数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(int i=2;i<=…… 题解列表 2024年03月16日 0 点赞 0 评论 375 浏览 评分:9.9
蓝桥杯算法提高VIP-剪刀石头布题解(c语言)最快 摘要:解题思路:通过做差确定谁输谁赢注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); if(a=…… 题解列表 2024年03月16日 0 点赞 0 评论 487 浏览 评分:9.9
2814: 正常血压 摘要:参考代码:n = int(input()) count = [] h = 0 for i in range(n): x, y = map(int, input().split()) …… 题解列表 2024年03月16日 0 点赞 0 评论 317 浏览 评分:9.9
超级简单A+B for Input-Output Practice (VII) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) cou…… 题解列表 2024年03月16日 0 点赞 0 评论 413 浏览 评分:9.9
C++简单粗暴解决弟弟作业问题 摘要:解题思路:直接将计算表达式当作字符串输入,读取出a,b,c的值。判断即可。在字符串中a的分界是+或者-;使用string中的find_first_of函数,找到第一个出现+、-的位置string各个函…… 题解列表 2024年03月16日 0 点赞 0 评论 356 浏览 评分:9.9
广度搜索(使用队列解决) 摘要:解题思路:注意事项:参考代码:def get(st,mmp,n,m): for i in range(n): for j in range(m): …… 题解列表 2024年03月16日 0 点赞 0 评论 198 浏览 评分:9.9
自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Mian{ public static void main(String[] args) { …… 题解列表 2024年03月16日 0 点赞 0 评论 536 浏览 评分:9.9
蓝桥杯2014年第五届真题-兰顿蚂蚁 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int m,n;cin>>m>>n; int a[m][n…… 题解列表 2024年03月16日 1 点赞 0 评论 465 浏览 评分:9.9
java暴力破解(简单易懂) 摘要:解题思路:暴力破解,通过判断每个子序列找到最大长度注意事项:StringBuffer类和String类不能比较,需要进行类型转换参考代码: import java.util.*; import j…… 题解列表 2024年03月17日 1 点赞 0 评论 490 浏览 评分:9.9