- 博客(17)
- 资源 (5)
- 收藏
- 关注
原创 poj-1703-Find them, Catch them【并查集】
题目链接:点击打开链接Find them, Catch themTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 42061 Accepted: 12934DescriptionThe police office in Tadu City d
2016-09-26 21:00:02 345
原创 lightoj-1033-Generating Palindromes【思维】【LCS】
题目链接:点击打开链接1033 - Generating Palindromes PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBBy definition palindrome is a strin
2016-09-25 21:23:42 293
转载 关于C++中 pair函数
pair函数类模板:template struct pair参数:class T1是第一个值的数据类型,class T2是第二个值的数据类型。功能:pair将一对值(可以是不同的数据类型)组合成一个值,两个值可以分别用pair的两个公有函数first和second访问。具体用法:1.定义(构造):pair p1; //使用默认构造
2016-09-25 17:46:18 3426
原创 BestCoder Round #87(1003-【思维】【LIS&&LCS】)
题目链接:点击打开链接LCISTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 243 Accepted Submission(s): 98Problem DescriptionAlex has
2016-09-24 23:21:07 363
原创 HDU-5688【map】
题目链接:点击打开链接Problem DTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 570 Accepted Submission(s): 368Problem Description度熊所
2016-09-24 17:45:17 240
转载 string 中 str.assign() 的用法
原文链接:点击打开链接// string::assign#include #include using namespace std;int main (){ string str; string base="The quick brown fox jumps over a lazy dog."; // used in the same order as described
2016-09-24 17:28:39 4245
原创 zzulioj-1899-985的最大和难题【思维】
题目链接:点击打开链接1899: 985的最大和难题Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 334 Solved: 44SubmitStatusWeb BoardDescription985有2 * n - 1个整数,他每次可以将其中n个数变号,操作次数不限,问他可以得到的最大和。I
2016-09-24 16:58:08 319
原创 codeforce-501【B思维&&map】【C思维&&树】
题目链接:点击打开链接A. Contesttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMisha and Vasya partic
2016-09-22 12:10:54 574
转载 STL-vector
原文链接:点击打开链接调用头文件:#includeusing namespace std;详细用法(部分):vector k; ------ 定义一个queue的变量(定义时已经初始化) 例如: queue k;vector k(n,i); ------ 定义一个queue的变量,其中包含
2016-09-22 11:44:37 421
原创 数据结构第一次作业(学生信息管理系统-顺序表&&链表)
实验目的 :1、掌握线性表的定义;2、掌握线性表的基本操作,如建立、查找、插入和删除等。实验内容:定义一个包含学生信息(学号,姓名,成绩)的的顺序表和链表,使其具有如下功能:(1) 根据指定学生个数,逐个输入学生信息;(2) 逐个显示学生表中所有学生的相关信息;(3) 根据姓名进行查找,返回此学生的学号和成绩;(4) 根据指定的位置可返回相应的学生信息(
2016-09-21 14:17:34 72664 25
原创 codeforces-500【B思维】【C贪心】
题目链接:点击打开链接A. New Year Transportationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNew Year is com
2016-09-18 21:08:23 370
原创 lightoj-1122-Digit Count【DP】
题目链接:点击打开链接1122 - Digit Count PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBGiven a set of digits S, and an integer n, you
2016-09-17 00:13:07 377
原创 lightoj-1047-Neighbor House【矩阵DP】
题目链接:点击打开链接1047 - Neighbor House PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBThe people of Mohammadpur have decided to
2016-09-16 22:14:18 343
原创 lightoj-1189-Sum of Factorials【思维】
题目链接:点击打开链接1189 - Sum of Factorials PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBGiven an integer n, you have to find w
2016-09-16 18:15:21 453
原创 lightoj-1307-Counting Triangles【思维】
题目链接:点击打开链接1307 - Counting Triangles PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBYou are given N sticks having distinct
2016-09-16 01:20:39 447
原创 lightoj-1006-Hex-a-bonacci【思维】
题目链接:点击打开链接1006 - Hex-a-bonacci PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBGiven a code (not optimized), and necessar
2016-09-15 17:28:35 351
原创 poj-1852-Ants【思维】
题目链接:点击打开链接AntsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 15216 Accepted: 6606DescriptionAn army of ants walk on a horizontal pole of lengt
2016-09-15 16:45:28 300
jQuery-1.12.4
2018-03-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人