题解列表

筛选

2867: 单词的长度 c++简洁版

摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() {     boo……

我觉得比楼上写的还简单^_^

摘要:解题思路:注意事项:参考代码:#include <iostream> // #include <sstream> // #include <cstdio> // #include <algori……

2864: 单词替换 STL版

摘要:解题思路:注意事项:参考代码:#include <iostream> #include <sstream> // #include <cstdio> // #include <algorithm……

1046: [编程入门]自定义函数之数字后移

摘要:```cpp #include using namespace std; /* 题目描述 有n个整数,使前面各数顺序向后移m个位置,最后m个数变成前面m个数。写一函数:实现以上功能,在主函数中……

@更向天涯 小李子不行啊!!!

摘要:解题思路:注意事项:cin、cout一定要改成scanf和printf不然会超时!!!!参考代码:#include<bits/stdc++.h>using namespace std;int a[10……

1045: [编程入门]自定义函数之整数处理

摘要:```cpp #include using namespace std; /* 题目描述 输入10个整数,将其中最小的数与第一个数对换,把最大的数与最后一个数对换。 写三个函数; ①输入……

666666666666666666

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n;double x,xn=1,sum=1;int main(){ scan……

蓝桥杯2018年第九届真题-次数差-C++

摘要:解题思路:    双指针法注意事项:    注意我在字符串末尾加了个‘A’,可以减少判断逻辑参考代码:#include<iostream> #include<algorithm> using na……