码迷,mamicode.com
首页 >  
搜索关键字:possible    ( 2665个结果
python判断等差数列
import sys n = int(sys.stdin.readline().strip()) s = sys.stdin.readline() s = list(map(int, s.split(' '))) print(n) print(s) for i in range(len(s)-1):... ...
分类:编程语言   时间:2019-08-11 17:16:01    阅读次数:140
对短路变形POJ3615
Farmer John wants the cows to prepare for the county jumping competition, so Bessie and the gang are practicing jumping over hurdles. They are getting ...
分类:其他好文   时间:2019-08-09 19:28:04    阅读次数:75
permutations
/** * Given a collection of numbers, return all possible permutations. * For example, * [1,2,3]have the following permutations: * [1,2,3],[1,3,2],[2,1... ...
分类:其他好文   时间:2019-08-08 13:15:38    阅读次数:73
kmp(所有长度的前缀与后缀)
http://poj.org/problem?id=2752 Seek the Name, Seek the Fame Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 27512 Accepted: 14244 Descripti ...
分类:其他好文   时间:2019-08-03 12:48:53    阅读次数:460
CodeChef REIGN解题报告
REIGN题解 中文题面见https://vj.ti12z.cn/d30971fe9f8f47fb2a3e458793ff579c?v=1564349228 The Baratheons have been ruling in the Seven Kingdoms for many years. T ...
分类:其他好文   时间:2019-08-01 14:41:40    阅读次数:111
POJ-2499-Binary Tree-思维题
Background Binary trees are a common data structure in computer science. In this problem we will look at an infinite binary tree where the nodes conta ...
分类:其他好文   时间:2019-07-30 00:53:17    阅读次数:99
mutt配置太繁琐,如果lz你只是单纯为了发邮件的话,其实用mailx就足以了
mutt配置太繁琐,如果lz你只是单纯为了发邮件的话,其实用mailx就足以了 复制内容到剪贴板 代码: yum -y install mailx echo "Server port fails, check as soon as possible"|mail -s "monitor" 184511 ...
分类:其他好文   时间:2019-07-29 13:00:51    阅读次数:107
Feel Good
Feel Good Time Limit: 3000MS Memory Limit: 65536KTotal Submissions: 11626 Accepted: 3212Case Time Limit: 1000MS Special JudgeDescriptionBill is develo ...
分类:其他好文   时间:2019-07-27 15:41:42    阅读次数:135
D. Lizard Era: Beginning
http://codeforces.com/contest/585/problem/D 1、meet in the middle 里上半部分搜索为d1()、下半部分搜索为d2(),d1()的内容很简单:搜索,直到超过边界,记录状态值,d2()的内容也很简单:搜索,直到超过边界,合并d1()状态值,按 ...
分类:其他好文   时间:2019-07-24 19:37:02    阅读次数:92
poj2387- Til the Cows Come Home(最短路板子题)
题目描述 Description Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the mo ...
分类:其他好文   时间:2019-07-23 17:31:47    阅读次数:74
2665条   上一页 1 ... 20 21 22 23 24 ... 267 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!