题解列表
1461: 字符串 java 字符串追加方法的应用
摘要:- 思路
规律很明显:
当前字符串 a[i] = 上一个字符串a [i-1] + c + a[i-1]
这里字符c 我们能观察到他是……
C语言训练-8除不尽的数
摘要:解题思路: 注意事项:参考代码: #include<stdio.h>//x=((8*a+7)*8+1)*8+1//x=(2*a*17+15)*17+4int main()……
1458: 蓝桥杯2013年第四届真题-错误票据
摘要: #include
#include
#include
#include
using namespace std;
const int ……
求问大佬,为啥时间超限了
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { long int i, a, b, t; int c = 0, max = 0; int m = 0, k;……
C语言训练-大、小写问题 为什么不能 gets(a); strlwr(a);这样写?
摘要:解题思路:注意事项:参考代码: &nb
[STL训练]Who's in the Middle
摘要:```cpp
#include
using namespace std;
#include
#include
bool cmp(int a,int b){
return a < b;……
动态规划-最长上升子序列模型,注意前一次和后一次的美味度可相等!
摘要:#include<iostream>using namespace std;const int N=1005;int a[N],dp[N];int main(){ int n; cin>>……
蓝桥杯算法训练VIP-数的统计
摘要:#include<iostream>#include<algorithm>using namespace std;const int N=1005;int arr1[N];int arr2[N];in……