题解列表
小学生解法,刚学一周C,不会太复杂的
摘要:解题思路:将两行字符串相同的部分去除,剩下的两行字符串,哪个的字符数多,就以哪行的字符串数为操作次数(哈哈自己推下为什么)然后通过for循环比较a[i]b[i],要分开依次寻找出现重复的字符,统计su……
1331: 新三国争霸
摘要:```cpp
#include
#include
using namespace std;
int n,m,t,v,k,x,y,p,k1,k2,fa[301],f[51],d[51][51];……
1329: 合并傻子
摘要:```cpp
#include
#include
int max(int a,int b)
{
return a>b?a:b;
}
int min(int a,int b)
{……
感谢支持,谢谢你们的支持
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin >>……
感谢支持,谢谢你们的支持
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x; cin >>x; i……
1164: 数组的距离
摘要:```c++
#include
int main()
{
int *p = nullptr;
int *q = nullptr;
int m, n;
c……
编写题解 2794: 求平均年龄
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n ; int sum=0 ; ……