- 博客(54)
- 资源 (6)
- 收藏
- 关注
原创 HDU - 3746 kmp求循环节
Cyclic NacklaceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 12136 Accepted Submission(s): 5124Problem DescriptionCC always becomes very de...
2018-03-29 13:38:59
331
原创 kmp统计最多出现几个模式串
剪花布条Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 25817 Accepted Submission(s): 15844Problem Description一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。...
2018-03-29 13:28:00
370
原创 初学Python和pygame写小游戏
alien.py:外星人的类,负责外星人的加载、位置、绘制和更新等属性。alien_invasion.py:主函数。bullet.py:对子弹进行管理的类,负责子弹的绘制、更新。button.py:按钮类,绘制Play按钮。game_function.py:包含实现各种操作所需的函数。game_data.py:存储游戏激活状态和最高分、飞船剩余等信息。scoreboard....
2018-03-01 13:26:17
1464
1
原创 中国剩余定理 POJ - 2891
Strange Way to Express IntegersTime Limit: 1000MS Memory Limit: 131072KTotal Submissions: 18085 Accepted: 6103DescriptionElina is reading a book written by Rujia Liu, which introduces a strange way to...
2018-02-28 14:39:58
314
原创 拓展欧几里得 POJ-2115
C LooooopsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 29789 Accepted: 8595DescriptionA Compiler Mystery: We are given a C-language style for loop of type for (variable = A; variable != B...
2018-02-28 14:11:29
300
原创 欧拉函数 POJ - 2478
Farey SequenceTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 17846 Accepted: 7153DescriptionThe Farey Sequence Fn for any integer n with n >= 2 is the set of irreducible rational numbers...
2018-02-28 13:38:32
346
1
原创 ZOJ-1610(区间染色)
Count the ColorsTime Limit: 2 Seconds Memory Limit: 65536 KB Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones.Your
2017-09-27 18:32:26
881
原创 最大流最小割 UVA - 10480
题意:输入一个n和m,n为点数,m为边数,接下来m行u, v, w,求1和2不连接的最小花费。解题:最大流最小割定理,要输出割断的边。#include #include #include #include using namespace std;struct node { int from, to, cap, next;} edge[2000000];int dep
2017-05-20 17:23:25
333
原创 最大流 POJ - 3281
DiningTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 17498 Accepted: 7789DescriptionCows are such finicky eaters. Each cow has a preference for certain
2017-05-03 23:55:33
285
原创 欧拉回路+路径 POJ - 2337
CatenymsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 12033 Accepted: 3124DescriptionA catenym is a pair of words separated by a period such that the la
2017-04-26 22:35:10
284
原创 欧拉回路 HDU - 3018
Ant TripTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2873 Accepted Submission(s): 1141Problem DescriptionAnt Country consist o
2017-04-26 13:52:34
300
原创 判断欧拉通路 POJ - 1386
Play on WordsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 12388 Accepted: 4205DescriptionSome of the secret doors contain a very interesting word puzzl
2017-04-26 11:38:22
369
原创 基础判断欧拉通路 HDU - 1878
欧拉回路Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14626 Accepted Submission(s): 5550Problem Description欧拉回路是指不令笔离开纸面,可画过图中每条边仅一
2017-04-26 10:58:44
373
原创 线段树+dfs HDU - 3974
Assign the taskTime Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2660 Accepted Submission(s): 1120Problem DescriptionThere is a co
2017-04-18 16:01:07
572
原创 线段树(类似延迟标记) HDU - 4027
Can you answer these queries?Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 15572 Accepted Submission(s): 3654Problem Description
2017-04-13 13:08:58
292
原创 思维 CodeForces - 791C
C. Bear and Different Namestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn the army, it isn't easy to form
2017-04-09 21:41:24
596
原创 完全无向图 CodeForces - 791B
B. Bear and Friendship Conditiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBear Limak examines a social network.
2017-04-09 21:36:21
1863
原创 ZOJ-1610 线段树区间更新
Count the ColorsTime Limit: 2 Seconds Memory Limit: 65536 KB Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones.Your
2017-04-09 10:50:21
311
原创 欧拉回路输出路径 POJ - 1041
John's tripTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8977 Accepted: 3010 Special JudgeDescriptionLittle Johnny has got a new car. He decided to
2017-04-05 21:53:47
276
原创 线段树
Problem B. Billboard Input file: billboard.in Output file: billboard.out Time limit: 3 seconds Memory limit: 256 megabytesAt the entrance to the university, there is a huge rectangular billboard of
2017-03-31 21:24:03
292
原创 线段树+离散化 POJ-2528 Mayor's posters
Mayor's postersTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 62932 Accepted: 18163DescriptionThe citizens of Bytetown, AB, could not stand that the cand
2017-03-29 23:12:45
261
原创 (打表找循环节)CodeForces - 768C Jon Snow and his Favourite Number
C. Jon Snow and his Favourite Numbertime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputJon Snow now has to fight with W
2017-03-04 19:30:51
539
原创 思维(二分思想递归)CodeForces - 768B Code For 1
B. Code For 1time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputJon fought bravely to rescue the wildlings who were att
2017-03-04 19:06:33
475
原创 尺取 POJ - 3320 Jessica's Reading Problem
Jessica's Reading ProblemTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 11660Accepted: 3955DescriptionJessica's a very lovely girl wooed by lots of
2017-03-03 12:46:46
357
原创 (双指针尺取) CodeForces - 372A Counting Kangaroos is Fun
A. Counting Kangaroos is Funtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n kangaroos with pockets. Each
2017-03-02 12:49:44
421
原创 二分答案 CodeForces - 371C Hamburgers
C. Hamburgerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarpus loves hamburgers very much. He especially ado
2017-03-02 12:42:41
417
原创 前缀和 CodeForces - 776C Molly's Chemicals
C. Molly's Chemicalstime limit per test2.5 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputMolly Hooper has n different kinds of chemic
2017-02-25 22:49:12
551
原创 数论(快速幂) HDU-5690 All X
All XTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1672 Accepted Submission(s): 729Problem DescriptionF(x,m) 代表一个全是由数字x组成的m位数
2017-02-23 12:34:08
365
原创 数论(多个数gcd) CodeForces757B Bash's Big Day
B. Bash's Big Daytime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputBash has set out on a journey to become the greates
2017-02-23 12:17:56
811
原创 DFS POJ - 1426 Find The Multiple
Find The MultipleTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 29571Accepted: 12286Special JudgeDescriptionGiven a positive integer n, write a
2017-02-23 11:10:24
245
原创 BFS + 回溯路径 POJ - 3984 迷宫问题
迷宫问题Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 19199Accepted: 11317Description定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0,
2017-02-23 10:51:44
448
原创 三维BFS POJ - 2251 Dungeon Master
Dungeon MasterTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 30504Accepted: 11842DescriptionYou are trapped in a 3D dungeon and need to find the qui
2017-02-23 10:35:38
307
原创 DP(最长上升子序列) HDU-1087
Super Jumping! Jumping! Jumping!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 36016 Accepted Submission(s): 16419Problem Descri
2017-02-21 12:54:11
459
原创 DP-多组01背包 POJ-3211
Washing ClothesTime Limit: 1000MSMemory Limit: 131072KTotal Submissions: 9924Accepted: 3188DescriptionDearboy was so busy recently that now he has piles of cl
2017-02-18 10:29:10
350
原创 DFS深搜 + 奇偶剪枝 HDU-1010
Tempter of the BoneTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 115837 Accepted Submission(s): 31450Problem DescriptionThe dog
2017-02-17 17:02:45
283
原创 Bfs广搜 HDU - 2612
Find a wayTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 12638 Accepted Submission(s): 4060Problem DescriptionPass a year learni
2017-02-17 16:47:19
405
原创 母函数 初步刷题
Ignatius and the Princess IIITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 20011 Accepted Submission(s): 14004Problem Description
2017-02-12 10:52:45
401
转载 母函数详解及模板
在数学中,某个序列的母函数(Generating function,又称生成函数)是一种形式幂级数,其每一项的系数可以提供关于这个序列的信息。使用母函数解决问题的方法称为母函数方法。母函数可分为很多种,包括普通母函数、指数母函数、L级数、贝尔级数和狄利克雷级数。对每个序列都可以写出以上每个类型的一个母函数。构造母函数的目的一般是为了解决某个特定的问题,因此选用何种母函数视乎序列本身的特性和
2017-02-12 10:22:22
330
原创 记忆化搜索 HDU-1078
FatMouse and CheeseTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9154 Accepted Submission(s): 3844Problem DescriptionFatMouse has
2017-02-12 00:40:18
321
原创 思维 POJ-1323
Game PredictionTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 10745Accepted: 5189DescriptionSuppose there are M people, including you, playing a speci
2017-02-12 00:24:13
260
广工软件开发环境与工具课设 文档 项目文件
2019-04-18
教室管理系统 广工数据库课设代码及文档
2019-04-18
广工软件安全 实验&课设代码及文档
2019-04-18
广工计算机网络课设代码及文档
2019-04-18
广工操作系统课设代码及文档
2019-04-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人