Description The country of jiuye composed by N cites. Each city can be viewed as a point in a two- dimensional plane with integer coordinates (x,y). T ...
分类:
其他好文 时间:
2017-07-14 21:19:10
阅读次数:
235
Treeland is a country in which there are n towns connected by n?-?1 two-way road such that it's possible to get from any town to any other town. In Tr ...
分类:
其他好文 时间:
2017-07-14 00:44:55
阅读次数:
299
东港翠园篮球协会会员注册 --东港篮球协会个人信息-- 姓名: ... ...
分类:
其他好文 时间:
2017-07-05 09:58:19
阅读次数:
164
此文为博主原创题解,转载时请通知博主,并把原文链接放在正文醒目位置。 题目链接:http://poj.org/problem?id=3723 Description Windy has a country, and he wants to build an army to protect his c ...
分类:
其他好文 时间:
2017-07-04 12:16:47
阅读次数:
310
【BZOJ3864】Hero meet devil Description There is an old country and the king fell in love with a devil. The devil always asks the king to do some crazy ...
分类:
其他好文 时间:
2017-07-04 09:53:15
阅读次数:
162
面向对象的程序设计一(类和对象) 1 ''' 2 对象一 3 name="fang" 4 age=28 5 country="shina" 6 7 技能 8 def talk(self): 9 print("is talking") 10 11 def eat(self): 12 print("is ...
分类:
其他好文 时间:
2017-07-03 19:12:34
阅读次数:
199
1. cross-fields搜索 一个唯一标识,跨了多个field。比如一个人,标识,是姓名;一个建筑,它的标识是地址。姓名可以散落在多个field中,比如first_name和last_name中,地址可以散落在country,province,city中。跨多个field搜索一个标识,比如搜索 ...
分类:
其他好文 时间:
2017-07-01 18:22:55
阅读次数:
264
SELECT from world篇 11. 题目: The CASE statement shown is used to substitute North America forCaribbean in the third column. Show the name - but substitu ...
分类:
数据库 时间:
2017-07-01 18:19:57
阅读次数:
475
redis范围查询应用。 需求 根据IP找到对应的城市 原来的解决方案 oracle表(ip_country): 查询IP对应的城市: 1.把a.b.c.d这样格式的IP转为一个数字,例如为把210.21.224.34转为3524648994 2. select city from ip_count ...
分类:
数据库 时间:
2017-06-28 20:40:10
阅读次数:
204
类和对象 类的两种用法 1 #!/usr/bin/python 2 # -*- coding:utf-8 -*- 3 4 5 class Chinese: 6 country = 'china' 7 8 def __init__(self,name,age): 9 self.name = name ...
分类:
编程语言 时间:
2017-06-26 12:36:58
阅读次数:
164