- 博客(11)
- 资源 (2)
- 收藏
- 关注
原创 [预处理优化][动态规划]D
Problem D: DTime Limit: 5 Sec Memory Limit: 128 MBSubmit: 64 Solved: 9[Submit][Status][Web Board]DescriptionThere is a N*M matrix, and each cell of the matrix has an integer number.
2014-04-29 13:02:57 627
原创 [BFS]C
Problem C: CTime Limit: 5 Sec Memory Limit: 128 MBSubmit: 36 Solved: 5[Submit][Status][Web Board]DescriptionX opened his eyes slowly and found himself in a strange place. He remember
2014-04-29 12:51:17 626
原创 [树状数组]操作数列
Problem E: 操作数列Time Limit: 3 Sec Memory Limit: 128 MBSubmit: 39 Solved: 10[Submit][Status][Web Board]Description对于一个长度为n(n1 x y c (02 x (0 1 x y c 操作表示,将区间[x,y]中的全部元素都异或c;2 x
2014-04-29 12:44:56 798
原创 [矩阵乘法][最短路]无奈的学长
Problem A: 无奈的学长Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 26 Solved: 3[Submit][Status][Web Board]Description众所周知,YONG学长是一个有妹子的汉子,可是众所不周知,有妹子的汉子给学弟出一道题做也会经常被打断。“喂,亲爱的,我在A区,你在学院给
2014-04-29 12:18:35 710
原创 [树状数组][离散化]Ultra-QuickSort
Ultra-QuickSortTime Limit: 7000MS Memory Limit: 65536KTotal Submissions: 38472 Accepted: 13874DescriptionIn this problem, you have to analyze a particular sorting a
2014-04-26 17:51:41 602
原创 [二分][hash]最长公共子串
1251: 最长公共子串Time Limit: 5 Sec Memory Limit: 128 MBSubmit: 76 Solved: 15[Submit][Status][Web Board]Description给定2个字符串,求这两个字符串的最长公共子串。Input第一行一个正整数T对于每组输入数据,有两行字符串(每个字符串的长度小于
2014-04-23 12:13:50 1394
原创 [Hash]变为回文串
1250: 变为回文串Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 59 Solved: 18[Submit][Status][Web Board]Description我们现在给你一个字符串,我们规定只能在这个字符串的右边添加字符,问最少添加多少字符可以使这个字符串变为回文串?回文串的定义见C题,不再赘述了。。。
2014-04-22 23:15:51 822
原创 [爬虫]Luoo客户端
import urllib.requestimport sysimport timefrom PyQt4 import QtGui,QtCore#Label with pictures which can be clicked and toggledclass HexLabel(QtGui.QLabel): def __init__(self,parent=None):
2014-04-19 18:34:56 1131
原创 [数据结构]K-Max Sum
C.K-MaxSumDescriptionHerethereisaveryclassicalproblem---MaxSum!Let'sreviewtheclasssicalproblem:Givenasequencea[1
2014-04-15 19:55:06 600
原创 [字符串]Very easy
InputThe test start with n which means that there are n cases.The first line of each case gives two number p,q:the threshold and the size of excepted-word set.The next line will give q words t
2014-04-15 19:45:06 1082
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人