自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 面试相关经验分享

    我面试的次数也不多,投了七家,面了四家(头条,京东,美团,阿里),两家(美团,阿里)给了实习offer,头条面的内涵段子部门,到了联系offer的阶段,结果部门没了,京东第一面过了之后,二面放了鸽子,至今对狗东好感值为负。    说这些是为了和大家证明,我接下来写的东西是有一点点价值的,考虑到很多同学预期会走就业这条路,这里把我所知道的一些信息或者经验和大家分享一下,仅供参考。- 考研还是...

2018-05-04 13:40:25 657 8

原创 学习笔记:shell基本语法

shell的基本语法总结  上周日的时候,宇哥让我们搭起来HADOOP集群,他有一个要求:用脚本实现自动安装。什么是脚本?什么是集群?虽然什么都不懂,但可以学啊。花了一天的时间了解了HADOOP的安装流程和SSH免密的原理和方法,又花了一天学习了一下shell的基本语法。接下来花了两三天的时间成功写出了三个脚本。脚本不算完美,有冗余也有瑕疵,但至少能成功运行,有足够多的注解和选项。下次接触ssh估计

2017-06-10 12:17:57 354

原创 学习笔记:Java中的泛型

泛型(Generics)总结  使用容易,理解难;掌握容易,精通难。花了大半天的时间从零整理泛型(上课讲的和没讲差不多QAQ),主要从泛型的概念、泛型的作用、泛型的使用(限定)、类型通配符及其三种限定、泛型jvm工作流程、泛型擦除、桥方法等方面进行学习。泛型和java中的容器类分不开,我觉得想了解泛型的应用重写容器类的代码是最好的方法。泛型概念什么是泛型? 泛型,即“参数化类型”,本质是参

2017-05-22 19:09:51 564

原创 学习笔记:数据库的安装和基本语法

Java数据库语法总结:  昨天花了一个晚上完成了这个学期的第一个程序,学到了apache的HSSF的基本用法,即对.xls文件的基本的读入写出和风格设置,这些东西明天抽时间再进行总结。PS:(最近很忙,所以这些笔记也许会有不完善的地方,未来继续学习的过程中如果有新的领悟,我会及时更新这个文档)。最后一次更新时间:(2017/5/9 12:01:18 )数据库的概述概念数据库(DataBase)的

2017-05-09 11:59:36 408

原创 学习笔记:POI_HSSF

HSSF总结HSSF有什么用  日常工作中,常常对表格类型的数据进行处理,如果自己编写的java程序进行数据处理的时候需要用到表格类数据,而Excel表格在保存表格类数据的时候明显比普通txt文本更有优势。因此,利用适当的API,直接对Excel表格进行处理就显得很有必要。   目前常见读写Excel的工具类开源javaAPI有两种方式: * 一个是JXL(Java Excel API) 官网地

2017-05-08 12:45:51 745

原创 学习笔记:Java_I/O(part_two)

I/O流(概述、文件字节流、文件字符流、转换流、缓冲流)  IO流这部分,算上学习File文件类的时间,总共花了三天时间学习,知识庞杂,种类繁多。但是说到底,各种各样的IO流,核心的方法无外乎构造()、read()、write()三种,根据文件类型的不同,选取不同的IO流。   东西太多,一次整理不完,因此分成几篇文章来整理,这里是IO概述、文件字节流、文件字符流、转换流四部分I/O流概述输入输出

2017-05-05 11:52:49 282

原创 学习笔记:Java_I/O(part_one)

Java_IO(class File)Java的IO流这部分,从四月二十七号到三十号,总共学了三天。三天下来IO流当面的代码写了也有几千行,这里做一下详细的总结。总结按照文件类和流两部分分为两篇文章,这是第一篇。我所学到的JavaIO流方面的知识主要是皓铭学长给我推荐的网课和教材中的知识,偏重的中心和实际开发中的中心应该还是有一定的差异。我所学到的JavaIO流中的知识点分以下几个大部分 Fi

2017-05-05 11:50:49 231

原创 2017-4-23:学习笔记(正则表达式+API)

正则表达式(Regex)正则表达式本质是一个字符串正则表达式用来定义匹配规则,匹配一系列符合某个句法规则的字符串在开发中,正则表达式常用来检索、替换那些符合某个规则的文本正则表达式的匹配规则常用字符 符号 涵义 x 字符x \|转义字符 \\n 换行符 \\r 回车符 \\t 制表符 [abc] abc中的任意一个字符 [^abc]

2017-04-23 22:28:53 559

原创 2017-4-23:学习笔记

培训部分知识点总结 由于已经学完了 大半本书的java教程, 好多知识点都已经了解了, 于是就不再进行记录基础语法变量使用中的注意事项变量定义后不赋值不能使用 不使用该变量的时候不会出现编译错误使用该变量是会出现编译错误变量有自己的作用范围,作用范围是自己定义的一对花括号以内变量不允许重复定义数据类型转换自动转换范围小的数据类型转换为范围大的数据类型时 by

2017-04-23 11:46:35 336

原创 2017-4-22:实用类总结

实用类class DateinitailDate date = new Date(); Date date = new Date(time); Date date = calendar.getTime();SimpleDateFormat-> import java.text.SimpleDateFormat String pattern = “YYYY

2017-04-22 14:31:46 222

原创 学习笔记:markdown安装激活和基本语法(已补充一次)

markdown学习笔记极简markdown排版介绍简书markdown简明教程非官方markdown入门指南官方基本语法标题引用列表代码块插入链接和图片粗体 斜体 表格语法规则快捷键后记markdown学习笔记极简markdown排版介绍简书markdown简明教程(非官方)markdown入门指南(官方)基本语法标题# ## ### #### ##### #

2017-04-22 13:41:46 1330

原创 uvaoj-1595:symmetry

1595 - SymmetryThe figure shown on the left is left-right symmetric as it is possible to fold the sheet of paper along a vertical line, drawn as a dashed line, and to cut the figure into two ide

2016-02-25 20:22:54 511

原创 mooc data structure 韩永楷 HW1.2(homework)

这道题主要就是第一周的课程的内容的训练,训练的是对归并排序(margesort)的运用;题目:题目内容:在一個N個數字的序列S裡,當S[i] > S[j] 且 i Hint : 利用歸併排序法計算一個序列裡有多少逆序數對。Hint : 思考一下在merge的過程,怎麼找到答案!Hint : 直接使用兩層迴圈來找答案的話會超過系統時間限制。输入格式

2016-02-25 14:46:23 1084

原创 uvaoj-10391:conpound words

You are to find all the two-word compound words in a dictionary. A two-word compound word is a word in the dictionary that is the concatenation of exactly two other words in the dictionary.Input

2016-02-24 18:07:32 454

原创 uvaoj-10763:foreign change

Your non-profit organization (iCORE - international Confederation of Revolver Enthusiasts) coordinates a very successful foreign student exchange program. Over the last few years, demand has sky-rocke

2016-02-24 16:05:31 344

原创 uvaoj-10925:throwing cards away

Given is an ordered deck of  n  cards numbered 1 to  n  with card 1 at the top and card  n  at the bottom. The following operation is performed as long as there are at least two cards in the deck:

2016-02-24 15:06:40 458

原创 c++STL中常用模板常用函数记录(新手向)

vector(不定长数组/向量):#include  vector vec;vector[0];//使用下标访问元素;vec.front();//取vec中的第一个元素;vec.back();//取vec中的最末一个元素;vec.push_back(x);//在向量末尾加入元素x;vec.pop_back();//删除末尾元素,同时向量空间减少1;vec.inser

2016-02-24 12:55:17 4500

原创 uvaoj-1594:ducci sequence

A Ducci sequence is a sequence of n-tuples of integers. Given an n-tuple of integers (a1,a2,···,an), the next n-tuple in the sequence is formed by taking the absolute differences of neighboring integer

2016-02-24 12:47:29 328

原创 uvaoj-1592:database

Peter studies the theory of relational databases. Table in the relational database consists of values that are arranged in rows and columns.There are different normal forms that database may adhere

2016-02-24 10:59:48 685

原创 uvaoj-12096:the setstack computer

Background from Wikipedia: Set theory is a branch ofmathematics created principally by the German mathe-matician Georg Cantor at the end of the 19th century.Initially controversial, set theory h

2016-02-24 01:16:55 632

原创 uvaoj-232:crossword answer

A crossword puzzle consists of a rectangular grid of black and white squares and two lists of definitions (or descriptions).One list of definitions is for ``words" to be written left to right across

2016-02-23 20:33:06 540

原创 uvaoj-1593:alignment of code

You are working in a team that writes Incredibly Customizable Programming Codewriter (ICPC) which is basically a text editor with bells and whistles. You are working on a module that takes a piece of

2016-02-23 18:17:00 338

原创 uvaoj-400:Unix Is

The computer company you work for is introducing a brand new computer line and is developing a new Unix-like operating system to be introduced along with the new computer. Your assignment is to write

2016-02-23 15:15:33 735

原创 uvaoj-136:ugly number

Ugly numbers are numbers whose only prime factors are 2, 3 or 5.  The sequence1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, ...shows the first 11 ugly numbers.  By convention, 1 is included.Write

2016-02-23 12:02:28 321

原创 uvaoj-540:team queue

(小白详细讲解向)//Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is not so well known, though it occurs often in everyday life. At lunc

2016-02-23 10:50:45 515

原创 nefuoj-549:气球

description   长达5个小时的ACM比赛结束了,每组参赛者桌子前都挂了不同颜色的气球,裁判们想知道哪种颜色的气球最多,请你写个程序帮他们计算一下。   input   输入数据有多组,每组数据第一行是一个数字N(N<100),即气球的总数。接下来是N行,每一行包含一种颜色,颜色是一个字符串,长度不超过15。当N

2016-02-16 23:39:41 351

原创 nefuoj-831:统计good

description我们每天都面临着要学习大量的英文单词,但我最喜欢good这个词,这个词见到的越多,我的生活就越幸福和愉快!给你一些英文单词,你能统计出good有多少个吗?input输入数据的第1行一个N (1 < N < 100),代表输入的数据组数,然后有N 行,每行有很多个单词,单词之间用空格隔开;每行的长度

2016-02-16 16:19:18 558

原创 uvaoj-156:反片语

Most crossword puzzle fans are used to anagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP, POTS and POST. Some words however do not have this attribute

2016-02-16 15:12:41 614

原创 uvaoj-10815:安迪的第一个字典

Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words that he knows is, well, not quite enough. Instead of thinking up all the wo

2016-02-16 10:21:54 569

原创 uvaoj-101:小木块

Background Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of planning and robotics (STRIPS) used a block wo

2016-02-15 15:58:13 531

原创 uvaoj-12474:大理石在哪里

Raju and Meena love to play with Marbles. They have got a lot of marbles with numbers written on them. At the beginning, Raju would place the marbles one after another in ascending order of the number

2016-02-14 22:21:01 721

原创 nefuoj-833:店长推荐2

题解:简单的进行一下循环,因为数据量小,所以直接遍历就行了,水题。code:#include #include #include using namespace std;int main(){    char s[105];    while(cin>>s)    {        int len=strlen(s);        int

2016-02-13 16:49:03 402

原创 nefuoj-834:Hrbust 集训队

题解:这道题和之前做的刘汝佳白书上的一道练习题很像,不过这个更简单一点;附上链接:uvaoj-分子量;code:#include #include #include using namespace std;int main(){    char s[105];    while(cin>>s)    {        int len=strl

2016-02-13 16:37:43 825

原创 nefuoj-813:good

description我们每天都面临着要学习大量的英文单词,但我最喜欢good这个词,这个词见到的越多,我的生活就越幸福和愉快!给你一些英文单词,你能统计出good有多少个吗?input输入数据的第1行一个N (1 < N < 100),代表输入的数据组数,然后有N 行,每行有很多个单词,单词之间用空格隔开;每行的长度

2016-02-13 15:31:36 459

原创 uvaoj-340:猜数字游戏的提示

MasterMind is a game for two players. One of them,Designer, selects a secret code. The other,Breaker, tries to break it. A code is no more than a row of colored dots. At the beginning of a game, t

2016-02-13 13:04:59 798

原创 uvaoj-401:回文词

A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the string is read from l

2016-02-13 12:16:16 411

原创 uvaoj-10082:WERTYU

A common typing error is to place the hands on the keyboard one row to the right of the correct position. So "Q" is typed as "W" and "J" is typed as "K" and so on. You are to decode a message typed

2016-02-13 10:49:05 459

原创 nefuoj-1041:字符串变形记

descriptionProblem Description Give you a string, just circumgyrate. The number N means you just circumgyrate the string N times, and each time you circumgyrate the string for 45 degr

2016-02-12 16:22:57 313

原创 nefuoj-1036:2月29日

description给定两个日期,计算这两个日期之间有多少个2月29日(包括起始日期)。只有闰年有2月29日,满足以下一个条件的年份为闰年:1. 年份能被4整除但不能被100整除2. 年份能被400整除input第一行为一个整数T,表示数据组数。之后每组数据包含两行。每一行格式为"month day,

2016-02-12 15:49:07 911

原创 uvaoj-1225:数数字

原题没找到。。贴上链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=247&problem=3666&mosmsg=Submission+received+with+ID+16836885题解:两种方法,第一种就是正常算就好啦,虽

2016-02-12 14:47:52 474

空空如也

空空如也

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

TA关注的人

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