UVA - 673
Parentheses Balance
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
Parentheses Balance...
分类:
其他好文 时间:
2014-12-18 20:48:22
阅读次数:
283
UVA - 10596
Morning Walk
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
Problem H
Morning Walk
...
分类:
其他好文 时间:
2014-12-17 22:48:02
阅读次数:
184
UVA - 657
The die is cast
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
The die is cast
...
分类:
其他好文 时间:
2014-12-17 09:13:08
阅读次数:
229
UVA - 572
Oil Deposits
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
Oil Deposits
T...
分类:
其他好文 时间:
2014-12-16 22:47:56
阅读次数:
629
UVA - 10305
Ordering Tasks
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
Problem F
Ordering Tasks
Input: standard inp...
分类:
编程语言 时间:
2014-12-16 22:39:59
阅读次数:
264
#!/usr/bin/envpython#-*-coding:utf-8-*-importsocket,sysfromoptparseimportOptionParserstat_ok=0stat_warning=1stat_critical=2stat_unknown=3defcheck_port(address,port):s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)s.settimeout(3)try:s.connect((address,port..
分类:
编程语言 时间:
2014-12-15 22:02:17
阅读次数:
610
主要是警告信息,在非ARC项目中没有这个警告。如果是在某一处修改只需要加入下列代码:
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
[self.ticketTarget performSelector: self.ticketAction w...
分类:
移动开发 时间:
2014-12-15 15:31:53
阅读次数:
149
很多人在用php+MySQL做网站往数据库插入数据时发现如下错误:注册失败!Unknown column '1a' in 'field list'结果发现用数字提交是没有问题的,其他如char型就有问题了。相信小伙伴又坚信SQL语句没写错,那么问题出在哪了。我们来看下我的SQL语句:--往user表...
分类:
数据库 时间:
2014-12-14 20:00:12
阅读次数:
201
Catalogue: array-分治法搜索
Question
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
5 6 7 0 1 2).
Find the minimum element.
...
分类:
其他好文 时间:
2014-12-13 09:38:26
阅读次数:
139
Catalogue:array - 分治法
Question
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).
Find the minimum element.
The array may...
分类:
其他好文 时间:
2014-12-13 09:37:25
阅读次数:
157