自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(29)
  • 收藏
  • 关注

原创 客户端接收WIFI发送的数据

1.首先WIFI模块烧入设置,完成模式设置。2.在myeclipse中写入TCPServer代码3.运行TCPServer#include <SoftwareSerial.h>SoftwareSerial WIFISerial(8,9); // RX, TX //模拟一个软串口void setup() { Serial.begin(115200); ...

2018-10-12 13:21:22 2041

原创 SDUT OJ 3374

数据结构实验之查找二:平衡二叉树Time Limit: 400MS Memory Limit: 65536KBSubmit StatisticProblem Description根据给定的输入序列建立一棵平衡二叉树,求出建立的平衡二叉树的树根。Input输入一组测试数据。数据的第1行给出一个正整数N(n Output输出平衡

2016-12-02 20:59:18 341

原创 POJ 2528 Mayor's posters(线段树+离散化)

Mayor's postersTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 60691 Accepted: 17565DescriptionThe citizens of Bytetown, AB, could not stand that the ca

2016-12-01 21:34:51 315

原创 POJ 2777 Count Color(线段树+二进制位运算)

Count ColorTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 43938 Accepted: 13310DescriptionChosen Problem Solving and Program design as an optional cour

2016-12-01 21:27:51 277

原创 POJ 2750 Potted Flower (线段树+动归)

Potted FlowerTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 4765 Accepted: 1814DescriptionThe little cat takes over the management of a new park. There

2016-12-01 21:21:10 368

原创 KMP算法

点击打开链接

2016-10-11 21:18:57 232

原创 POJ 3393 Lucky and Good Months by Gregorian Calendar(模拟题)

Lucky and Good Months by Gregorian CalendarTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1782 Accepted: 604DescriptionHave you ever wondered why norma

2016-10-10 21:34:37 350

原创 POJ 2891 Strange Way to Express Integers( EXGCD)

Strange Way to Express IntegersTime Limit: 1000MS Memory Limit: 131072KTotal Submissions: 14407 Accepted: 4699DescriptionElina is reading a book written by Ruji

2016-09-23 20:29:35 304

原创 poj 2115 C Looooops

C LooooopsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 24118 Accepted: 6699DescriptionA Compiler Mystery: We are given a C-language style for loop of

2016-09-19 20:13:16 253

原创 poj 2635(The Embarrassed Cryptographer(把…译成密码) 素数打表的最优方法+10进制转换成1000进制,大数取模

The Embarrassed Cryptographer(把…译成密码)Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 13831 Accepted: 3762DescriptionThe young and very promising cryptog

2016-08-22 18:31:23 367

原创 poj 1905 (Expanding Rods) 二分的运用

Expanding RodsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 15096 Accepted: 4009DescriptionWhen a thin rod of length L is heated n degrees, it expands

2016-08-22 09:24:03 343

原创 poj 3252 Round Numbers( 组合的应用)

Round NumbersTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 11850 Accepted: 4461DescriptionThe cows, as you know, have no fingers or thumbs(拇指) and thu

2016-08-19 09:11:55 276

原创 poj 1019 Number Sequence(打表+二分)

Number SequenceTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 37890 Accepted: 10952DescriptionA single positive(积极的) integer(整数) i is given. Write a

2016-08-18 20:21:16 292

原创 poj 1850 (组合)

codeTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 9282 Accepted: 4432DescriptionTransmitting(传输) and memorizing(记忆) information is a task that req

2016-08-18 18:23:01 305

原创 poj 1416 Shredding Company (应该是用dfs吧,但是想了一下午不知道怎么递归来做,所以暴力做了)

Shredding CompanyTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 5381 Accepted: 3023DescriptionYou have just been put in charge of developing a new shre

2016-08-13 19:56:40 531 2

原创 poj 3009 Curling 2.0(DFS)

Curling 2.0Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 17782 Accepted: 7315DescriptionOn Planet MM-21, after their Olympic games this year, curling(

2016-08-11 17:24:28 349

原创 poj 3414 Pots(bfs+string(储存路径)}

PotsTime Limit: 1000MS   Memory Limit: 65536K Total Submissions: 14033   Accepted: 5908   Special Judge DescriptionYou are given two pots, having the volume(量) of A and B lit...

2016-08-11 15:41:23 220

原创 c++ 中scanf函数的使用

1. 常见用法。char buf[512] ;sscanf("123456 ", "%s", buf);//此处buf是数组名,它的意思是将123456以%s的形式存入buf中!printf("%s\n", buf);结果为:1234562. 取指定长度的字符串。如在下例中,取最大长度为4字节的字符串。sscanf("123456 ", "%4s", buf);printf("%s\

2016-08-06 15:30:25 2104

原创 POJ -3080 Blue Jeans(暴力就可以了)

Blue JeansTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 16390 Accepted: 7274DescriptionThe Genographic Project is a research partnership between IBM a

2016-08-04 16:22:51 372

原创 POJ 1094 Sorting It All Out(拓扑排序)

Sorting It All OutTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 32789 Accepted: 11387DescriptionAn ascending sorted sequence of distinct values is one

2016-08-03 08:32:47 281

原创 POJ 3026 Borg Maze (bfs+prim)

Borg MazeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 12693 Accepted: 4142DescriptionThe Borg is an immensely powerful race of enhanced humanoids fro

2016-08-01 21:31:31 258

原创 POJ -3083

Children of the Candy CornTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 12744 Accepted: 5476DescriptionThe cornfield maze is a popular Halloween treat

2016-08-01 21:19:58 298

原创 POJ-2049 Finding Nemo

Finding NemoTime Limit: 2000MS Memory Limit: 30000KTotal Submissions: 8869 Accepted: 2087DescriptionNemo is a naughty boy. One day he went into the deep sea all b

2016-07-29 18:05:38 398

原创 POJ- 1068 Parencodings

ParencodingsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 24713 Accepted: 14543DescriptionLet S = s1 s2...s2n be a well-formed string of parentheses.

2016-07-26 18:29:57 263

原创 POJ - 2965 The Pilots Brothers' refrigerator

The Pilots Brothers' refrigeratorTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 23746 Accepted: 9152 Special JudgeDescriptionThe game “The Pilots

2016-07-26 18:21:59 226

原创 POJ -1753 Flip Game

Flip GameTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 40014 Accepted: 17368DescriptionFlip game is played on a rectangular 4x4 field with two-sided p

2016-07-26 18:18:02 253

原创 后缀表达式

 #include <iostream>#include<stack>#include<stdio.h>#include<string.h>using namespace std;//中缀式转后缀式/*int cmp(char a){ if(a=='+'||a=='-')return 1; if(a=='*'||a=='/')...

2016-07-11 11:27:13 304

原创 第一次打字测试体会

一篇文章打了40多分钟,虽然平时也就十个手指打,但是没有注意过大写字母都是切换输入法打的,另外准确度不高,打得也慢,以后要多多练习。

2016-06-23 17:34:11 622

原创 第七届山东省省赛总结

6月4号下午的cccc比赛,感觉自己弱爆了,基础题就完整的过了4个,而且做得时候都不顺,要么敲不出来,要么总是过不了全部数据,这就是因为平时基础掌握不牢固,没有完全掌握,还有就是读题没读仔细,考虑不清楚,数据结构中只是接触了点,二叉树那些就没做过,上次的模拟赛中就有涉及,从模拟赛以后因为要复习电路,离散的基本就没有学,所以说数据结构现在也就是略懂。  6月5号的省赛,我就主要负责翻译,翻译感觉

2016-06-11 20:26:02 326

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除