码迷,mamicode.com
首页 >  
搜索关键字:empty    ( 6963个结果
Valid Sudoku
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with...
分类:其他好文   时间:2014-09-03 19:39:47    阅读次数:181
globalization
Culture/language nameCulture"" (empty string)Invariant cultureafAfrikaansaf-ZAAfrikaans (South Africa)sqAlbaniansq-ALAlbanian (Albania)arArabicar-DZAr...
分类:其他好文   时间:2014-09-03 11:09:06    阅读次数:217
UVA-10603-Fill(BFS+优先队列)
There are three jugs with a volume of a, b and c liters. (a, b, and c are positive integers not greater than 200). The first and the second jug are initially empty, while the third is completely fill...
分类:其他好文   时间:2014-09-02 22:55:45    阅读次数:289
Sudoku Solver
Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will be o...
分类:其他好文   时间:2014-09-02 22:46:45    阅读次数:227
Leetcode-Length of Last Word
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:其他好文   时间:2014-09-02 21:11:15    阅读次数:171
gevent queue应用2 队列设置了最大数量限制
1 # -*- coding:utf-8 -*- 2 #! /usr/bin/env python 3 ''' 4 Created on 2014年9月2日 5 ''' 6 import gevent 7 from gevent.queue import Queue, Empty 8 import....
分类:其他好文   时间:2014-09-02 19:42:25    阅读次数:385
UVA - 11542 Square (异或方程组)
Given n integers you cangenerate 2n-1 non-empty subsets from them. Determine for howmany of these subsets the product of all the integers in that is a perfectsquare. For example for the set {4,6,10,15...
分类:其他好文   时间:2014-09-02 15:50:45    阅读次数:247
[leecode]Scramble String
Scramble StringGiven a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible...
分类:其他好文   时间:2014-09-02 00:17:33    阅读次数:260
LeetCode: Scramble String
LeetCode: Scramble StringGiven a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is o...
分类:其他好文   时间:2014-09-01 22:42:34    阅读次数:308
python 多进程使用Queue通信的例子
import timefrom multiprocessing import Process,QueueMSG_QUEUE = Queue(5)def startA(msgQueue): while True: if msgQueue.empty() > 0: ...
分类:编程语言   时间:2014-09-01 13:50:53    阅读次数:227
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!