- 博客(6)
- 收藏
- 关注
原创 Google Innocamp2018创新训练营--华东师范大学之行
在一系列的博客中,我将会把我以前做过的项目和一些经历和感悟放在这上面来,因为我觉得这是一个记录自己成长和进步的一个好的方式。 好了,下面将简要介绍此次华东师范大学--谷歌创新训练营之行。 我的此次之行还是有一些坎坷的,开始报名的时候是我的老师推荐给我的,让我去报名,因为我们之前做科研小助手的项目时,我跟她提到过谷歌的tensorFlow,正好她也是华师教育技术的博士,就想让我出去看看,学习...
2018-05-30 14:51:31
1062
1
原创 BFS识别矩阵中的块数
题目描述:给出一个m*n的矩阵,矩阵中的元素为0或1.称位置(x,y)与其上下左右四个位置是相邻的。如果矩阵中有若干个1相邻,则称这些1构成了一个块。求给定矩阵中的块数。输入:0 1 1 1 0 0 10 0 1 0 0 0 00 0 0 0 1 0 00 0 0 1 1 1 01 1 1 0 1 0 01 1 1 1 0 0 0输出:4#include <iostream> #inc...
2018-05-20 11:03:56
453
原创 pat 1032 sharing
#include <iostream>#include <cstdio>using namespace std;const int maxn =100010;struct Node{ char data; int next; bool flag;}node[maxn];/* run this program using the console pauser or add...
2018-03-16 19:51:25
151
原创 pat 1016
#include <iostream> #include <cstdio> #include <string.h> #include <vector> #include <map> #include <algorithm> using namespace std; /* run this program using the c...
2018-03-11 21:10:51
179
原创 pat甲级1007
有两个测试点没过#include <iostream> #include<cstdio> #include<algorithm> using namespace std; const int maxn=10010; int main() { int a[maxn]; int thismaxn=0; int zuida=0; i...
2018-03-08 21:38:15
687
2
原创 PAT甲级1002
有两个测试点没有通过#include <iostream> #include<cstdio> #include<algorithm> #include<string.h> using namespace std; bool COM(int a,int b) { return a>=b; } int main() { int ...
2018-03-08 16:50:48
471
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人