题解列表

筛选

快速转置数组

摘要:解题思路:注意事项:输出注意加上换行符参考代码:#include <bits/stdc++.h> using namespace std;int main(){    int a[3][3]={0};……

中华人民共和国万岁1

摘要:解题思路:无注意事项:无参考代码:#includeint main(){ int i,j,n,sum=0; scanf("%d",&n); for(i=0,j=2;i<n;i++,j+=3) { s……

0916每日一题【C++】

摘要:解题思路:找到对称轴,实现字符串之间的相加注意事项:C++,而且注意如果s不定义为"A”的话,i要从0开始,且循环体要交换顺序参考代码:#include <iostream>//李政 #includ……

利用动态vector进行求解

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>using namespace std;int main(){ int i,j;/* int n,m;……

动态规划—C语言

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