题解列表
奥运奖牌计数(超简单,很容易看懂)
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,a,b,c; int a1=0,b1=0,c1=0……
苹果和虫子(超简单)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n, x, y; cin >> n >> x >>……
1160: 出圈(c++)
摘要:```cpp
#include
using namespace std;
int main()
{
int n,m;
while(cin>>n>>m)
{
……
1159: 偶数求和
摘要:```cpp
#include
using namespace std;
int main()
{
int n,m,num[100];
num[0]=2;
for……
无语数据结构-广义表的基本操作
摘要:解题思路:注意事项:参考代码:#include <iostream>#include <stack>using namespace std;int main(){ stack<char> s; ……
1828: 蓝桥杯2015年第六届真题-密文搜索暴力搜索
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;char s[20000];bool fx(char* s1, char* s2) ……
编写题解 1206: 字符串问题(最短)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string a;//定义 cin>>a;//输出 ……
C++求一个闭区间内所有素数和
摘要:解题思路:注意事项:注意1不是素数,在判断是要注意参考代码:#include<iostream>using namespace std;bool check(int i)////用来检验一个数是否是素……
2908: 白细胞计数
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
float num=0;
……