题解列表

筛选

P1094 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>//万能库 using namespace std; int h[10000],l[10000],f[5000][500……

蓝桥杯算法训练VIP-传球游戏 (C++代码)

摘要:解题思路:递归,dp[i][j]为i+1次传到j+1号的情况个数。注意事项:传一次后,发球人左右情况个数都为1,依次为初始情况。参考代码:#include<iostream> #include<st……

字符串连接 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<string>#include<algorithm>#include<iostre……

strlen()不存在(C++代码)

摘要:解题思路:注意事项:strlen()这个函数虽然在string里也有,我用vs运行也没错,但是在这个网站编译器中需要包含的头文件是<cstring>参考代码:#include<iostream>#in……

关于格式错误(C++代码)

摘要:解题思路:注意事项: 其实只要加个空格就可以printf("%6.2f(在这里多加一个空格)", a);参考代码:#include <cmath>#include<iostream>using nam……