自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(40)
  • 资源 (1)
  • 收藏
  • 关注

原创 Lowest Common Multiple Plus(GCD+GBD)

Lowest Common Multiple Plus Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Font: Times New Roman | Verdana | Georgia

2017-05-29 18:11:35 319

原创 Max Factor

Max Factor Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Font: Times New Roman | Verdana | Georgia Font Size: ← →Pr

2017-05-29 17:56:42 471

原创 Wolf and Rabbit

Wolf and Rabbit Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Font: Times New Roman | Verdana | Georgia Font Size:

2017-05-29 17:17:49 496

原创 The Center of Gravity

The Center of Gravity Time Limit : 3000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Font: Times New Roman | Verdana | Georgia Font

2017-05-29 16:55:41 322

原创 1084. Broken Keyboard (20)(PAT甲)

Broken Keyboard (20) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters

2017-05-29 13:37:07 323

原创 1010. Radix (25)(PAT甲)

Radix (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is “ye

2017-05-28 08:55:10 304

原创 1027. Colors in Mars (20)(PAT甲)

Colors in Mars (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue People in Mars represent the colors in their computers in a similar way as the Earth people. That is,

2017-05-28 08:35:39 237

原创 《凯恩斯革命的前世今生》导语集(前三章)

每句都饱含深意,如今先记下再慢慢理解和消化。 1.1 战争似乎离的很远,好比是别人的大学里举行的足球比赛。——海明威《永别了,武器》1.2 在甜蜜的梦乡里,人人都是平等的, 但是当太阳升起,生存的斗争重新开始时, 人与人之间又是多么的不平等。 ——阿斯图里亚斯《总统先生》1.3 如果你爱他,就把他送到纽约,因为那里是天堂; 如果你恨他,就把他送到纽约,因为那里是地狱。——曹桂林《北京人在纽约

2017-05-24 23:11:36 494

原创 《巨变》随笔(1)

汤森:“饥饿可以驯服最凶猛的野兽,它会把礼节和谦恭、恭顺与服从教导给最顽固的人。“ 问题的复杂远不止表面所能看到的那样。接触之后,思考的方式在一次用一次的刷新。显然,先考虑伦理,然后上来先对着貌似是强者的一方骂个酣畅淋漓不可能是个最好的选择。 到如今,我才能理解去年时候面试的那个问题到底应该怎么回答。当时被问到,电商对实体店的影响,我就把当时自己对互联网的看法说了一通。现在看来,大部分回答都是偏

2017-05-24 17:00:34 347

原创 String painter

String painter Time Limit : 5000/2000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 22 Accepted Submission(s) : 14Font: Times New Roman | Verdana | Georgia Font Size:

2017-05-23 20:37:21 613

原创 Tr A

Tr A A为一个方阵,则Tr A表示A的迹(就是主对角线上各项的和),现要求Tr(A^k)%9973。Input数据的第一行是一个T,表示有T组数据。 每组数据的第一行有n(2 <= n <= 10)和k(2 <= k < 10^9)两个数据。接下来有n行,每行有n个数据,每个数据的范围是[0,9],表示方阵A的内容。Output对应每组数据,输出Tr(A^k)%9973。 Sample Inp

2017-05-23 20:03:33 597

原创 1024. Palindromic Number (25)(PAT甲)

Palindromic Number (25)时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A number that will be the same when it is written forwards or backwards is known as a Palindromic N

2017-05-23 11:31:37 241

原创 1004. Counting Leaves (30)(PAT甲)

Counting Leaves (30)时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members w

2017-05-23 11:15:54 229

原创 sscanf的操作用法

1、一般用法char buf[512] = ; sscanf(“123456 “, “%s”, buf); printf(“%s\n”, buf); 结果为:123456  2. 取指定长度的字符串。如在下例中,取最大长度为4字节的字符串。sscanf(“123456 “, “%4s”, buf); printf(“%s\n”, buf); 结果为:1234  3. 取到指定字符为止的字符

2017-05-23 10:38:03 332

原创 1100. Mars Numbers (20)(PAT甲)

Mars Numbers (20)时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue People on Mars count their numbers with base 13:Zero on Earth is called “tret” on Mars. The numbers 1 to

2017-05-23 10:33:33 298

原创 You Are the One(区间DP)

You Are the OneTime Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 33 Accepted Submission(s) : 17 Font: Times New Roman | Verdana | Georgia Font

2017-05-18 17:02:31 347

原创 POJ1251 Jungle Roads

Jungle Roads Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 25 Accepted Submission(s) : 20Font: Times New Roman | Verdana | Georgia Font Size: ←

2017-05-15 22:45:15 279

原创 子序列求解(简单的计数DP)

子序列的定义:对于一个序列a=a[1],a[2],……a[n]。则非空序列a’=a[p1],a[p2]……a[pm]为a的一个子序列,其中1<=p1#include<iostream>#include<string>#include<algorithm>#include<cstring>#include<cstdio>using namespace std;#define maxsize

2017-05-15 08:48:42 598

原创 Palindrome subsequence

Palindrome subsequence Problem DescriptionIn mathematics, a subsequence is a sequence that can be derived from another sequence by deleting some elements without changing the order of the remaining ele

2017-05-15 00:44:46 391

原创 kiminonamaewa

时间限制:1000ms 内存限制:128MB成功相见的三叶和泷理所当然的成为恋人,所以显然要约会什么的,对吧。 于是,动漫中的经典剧情就出现了,抓娃娃什么的。 不过,这次的娃娃机非常奇特,没有什么爪子,只有一堆数字键,跟ATM机差不多。 规则是这样的,投币以后,屏幕中会出现一串字符,而你需要输入一个数字。 表示从这个字符串中取出一些字符,按原来的顺序放好后是一个回文串的方案数。 输入正确的话,娃娃

2017-05-11 16:41:36 1294

原创 TopSort(拓扑排序)

对输入的有向图进行拓扑排序,并输出一个拓扑有序序列;如果存在有向环,则给出提示信息。 假设输入文件中有向图的格式为:首先是定点个数n和边数m;然后是每条边,每条边的数据占一行,格式为 u v,表示从定点u 到顶点 v的一条有向边,顶点序号从1开始计起。输入文件的最后一行为0 0,表示输入数据结束。 样例输入: 6 8 1 2 1 4 2 6 3 2 3 6 5 1 5 2 5

2017-05-11 11:30:40 771

原创 Building Shops

Building ShopsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): Accepted Submission(s): Problem Description HDU’s n classrooms are on a li

2017-05-08 12:46:16 712

原创 Coprime Sequence(优化)

Coprime SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 22 Accepted Submission(s): 17Problem Description Do you know what is call

2017-05-07 19:03:57 391

原创 Graph Theory

Graph TheoryTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 0 Accepted Submission(s): 0Problem Description Little Q loves playing with di

2017-05-07 14:30:03 644

原创 Easy Summation

Easy SummationTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 0 Accepted Submission(s): 0Problem Description You are encountered with a t

2017-05-07 14:29:06 949

原创 Coprime Sequence

Coprime SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Problem Description Do you know what is called Coprime Sequence''? That is a sequence consists of n

2017-05-07 14:27:53 1486 9

原创 Automatic Judge

Automatic JudgeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Problem Description Welcome to HDU to take part in the second CCPC girls’ competition! A new automa

2017-05-07 14:26:33 779

原创 Minimal Ratio Tree

Minimal Ratio TreeTime Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 28 Accepted Submission(s) : 15 Font: Times New Roman | Verdana | Georgia Fo

2017-05-07 10:04:18 371

原创 A. Vicious Keyboard

A. Vicious Keyboard time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Tonio has a keyboard with only two letters, “V” and “K”.One day, he ha

2017-05-06 17:38:53 304

原创 2470: Puya和她学弟们

2470: Puya和她学弟们财经的同学们加油哦!#include <iostream>#include <cstdio>#include <algorithm>using namespace std;struct Time{ long long int start; long long int end; long long int flag;} a[1001];

2017-05-06 17:04:32 330

原创 简单计算器

简单计算器Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other) Total Submission(s) : 131 Accepted Submission(s) : 54 Font: Times New Roman | Verdana | Georgia Font Size: ← →

2017-05-06 17:01:43 478

原创 Tempter of the Bone(DFS+剪枝)

Tempter of the BoneTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other) Total Submission(s) : 339 Accepted Submission(s) : 106 Font: Times New Roman | Verdana | Georgia

2017-05-06 16:59:51 281

原创 饭卡(DP)

饭卡Time Limit : 5000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 93 Accepted Submission(s) : 29 Font: Times New Roman | Verdana | Georgia Font Size: ← → Pr

2017-05-06 16:57:22 358

原创 还是畅通工程(Prim+优先队列)

还是畅通工程Time Limit : 4000/2000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other) Total Submission(s) : 69 Accepted Submission(s) : 56 Font: Times New Roman | Verdana | Georgia Font Size: ← →

2017-05-06 13:08:43 441

原创 2315: 小明的智力(ZUFE)

2315: 小明的智力 时间限制: 1 Sec 内存限制: 128 MB 提交: 78 解决: 34 [提交][状态][讨论版] 题目描述 小明是个很聪明的人,他有一个智力值。并且智力值会增加。 和比他聪明的人(智力值大于小明的,这个真心不多)辩论一次智力值会+2。 和比他笨的人(智力值小于等于小明)辩论一次智力会+1。 每个人只能辩论一次。安排一个辩论顺序。使得辩论完后小明的智

2017-05-05 16:10:57 413

原创 还是畅通工程(Prim)

还是畅通工程Time Limit : 4000/2000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other) Total Submission(s) : 66 Accepted Submission(s) : 53 Font: Times New Roman | Verdana | Georgia Font Size: ← →

2017-05-05 15:57:16 423

原创 C. Find Amir

C. Find Amir time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output A few years ago Sajjad left his school and register to another one due to secu

2017-05-05 15:51:45 524

原创 A. Fake NP

A. Fake NP time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Tavak and Seyyed are good friends. Seyyed is very funny and he told Tavak to sol

2017-05-05 15:42:29 1244

原创 Seaside(Floyd)

SeasideTime Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 32 Accepted Submission(s) : 29 Font: Times New Roman | Verdana | Georgia Font Size: ←

2017-05-02 22:18:12 595

原创 Arbitrage(Floyd+map)

ArbitrageTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other) Total Submission(s) : 51 Accepted Submission(s) : 37 Font: Times New Roman | Verdana | Georgia Font Size:

2017-05-02 21:57:14 255

大数据开发——从放弃到入门.docx

准确的说,这应该算是一篇文档。这是Irish_Moonshine(本人)通过一个学期的间断性学习总结而来。 我认为这篇文章对于入门实战还是有一定的参考价值的,所以拿出来和大家分享,请大家多多指教,共同学习进步!

2019-06-12

空空如也

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

TA关注的人

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