题解列表
编写题解 3073: 字符串匹配问题(strs)——C++ map set,括号匹配总结
摘要:#### 原题链接
[题目 3073: 字符串匹配问题(strs)](https://www.dotcpp.com/oj/problem3073.html "题目 3073: 字符串匹配问题(str……
标准 A+B for Input-Output Practice (IV)
摘要:解题思路:用数组存放每次结果,再依次输出。注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int i=0; int……
题解 1234: 检查一个数是否为质数
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(int i=2;i<=……
蓝桥杯算法提高VIP-剪刀石头布题解(c语言)最快
摘要:解题思路:通过做差确定谁输谁赢注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); if(a=……
2814: 正常血压
摘要:参考代码:n = int(input())
count = []
h = 0
for i in range(n):
x, y = map(int, input().split())
……
超级简单A+B for Input-Output Practice (VII)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) cou……
C++简单粗暴解决弟弟作业问题
摘要:解题思路:直接将计算表达式当作字符串输入,读取出a,b,c的值。判断即可。在字符串中a的分界是+或者-;使用string中的find_first_of函数,找到第一个出现+、-的位置string各个函……
广度搜索(使用队列解决)
摘要:解题思路:注意事项:参考代码:def get(st,mmp,n,m):
for i in range(n):
for j in range(m):
……