c++中string类的简单介绍 摘要:#include "iostream" #include "string" using namespace std; /*@author:浅滩 *family:c++中string类的简单介绍…… 文章列表 2019年03月06日 0 点赞 0 评论 844 浏览 评分:0.0
c++动态开辟一维数组 摘要:#include <iostream>//#include "cmath"using namespace std;int main(){ int size; cin >> size; int *a…… 文章列表 2019年02月12日 0 点赞 0 评论 777 浏览 评分:0.0
三角形填数顺时针增大 摘要:效果图如下:代码如下:#include "iostream" using namespace std; const int MAXSIZE = 10; int array[MAXSIZE+1][…… 文章列表 2019年02月13日 0 点赞 0 评论 838 浏览 评分:0.0
两个有序数组合并 摘要:#include "iostream" #include "cstdio" using namespace std; int main() { int m,n; int i,j=0,k,t…… 文章列表 2019年02月18日 0 点赞 0 评论 849 浏览 评分:0.0
大数减法运算 摘要:#include <stdio.h> #include <string.h> int compare(int*,int*); void swap(int* ,int* )…… 文章列表 2019年02月13日 0 点赞 0 评论 690 浏览 评分:0.0
大数加法运算 摘要:#include "stdio.h" #include "string.h" int main() { char s1[100],s2[100]; int m,n; int c,i,k; …… 文章列表 2019年02月13日 0 点赞 0 评论 304 浏览 评分:0.0
凑算式(蓝桥杯真题) 摘要:/*凑算式 B DEFA + --- + ------- = 10 C GHI 这个算式中A~I代表0~9的数字,不同的字母代表不同的数字。*/ #inclu…… 文章列表 2019年02月13日 0 点赞 0 评论 808 浏览 评分:0.0
书上的纵横图 摘要:#include <stdio.h> #include <stdlib.h> #define MAXSIZE 20 int main() { int m, magic[MAXSIZE…… 文章列表 2019年02月13日 0 点赞 0 评论 746 浏览 评分:0.0
the problem 3n+1 摘要:#include "iostream" using namespace std; int main() { int m,n,max,tmp,cnt; while(cin >> m >> n)…… 文章列表 2019年02月13日 0 点赞 0 评论 982 浏览 评分:0.0
动态规划(01背包) 摘要:01背包这个算法是用来解决1100:采药这类题的。所以举采药这个例子。1100:采药辰辰是个天资聪颖的孩子,他的梦想是成为世界上最伟大的医师。为此,他想拜附近最有威望的医师为师。医师为了判断他的资质,…… 文章列表 2019年02月15日 6 点赞 1 评论 376 浏览 评分:0.0