上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 157 下一页
摘要: 题目来源 http://poj.org/problem?id=2230 题目大意 求无向图从起点1開始从不同方向经过全部边的一条路径。输出随意一条。 题解 把无向图的边拆成两条方向相反的有向边,做欧拉回路。 欧拉回路做法: 1、起点入栈。(回路的话起点能够是随意的) 2、扫描与起点相连的全部未被标记 阅读全文
posted @ 2017-06-22 15:33 claireyuancy 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 1、RemoteSolrException: Expected mime type application/octet-stream but got text/html 现象: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinde 阅读全文
posted @ 2017-06-22 14:07 claireyuancy 阅读(245) 评论(0) 推荐(0) 编辑
摘要: # coding=gbk from encodings import gbk import re import sys import os import pyodbc import traceback import decimal #连接数据库 conn = pyodbc.connect('DRIV 阅读全文
posted @ 2017-06-22 14:05 claireyuancy 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://leetcode.com/problems/single-number/ 题目:Given an array of integers, every element appears twice except for one. Find that single one. Not 阅读全文
posted @ 2017-06-22 13:30 claireyuancy 阅读(104) 评论(0) 推荐(0) 编辑
摘要: A natural number, N, that can be written as the sum and product of a given set of at least two natural numbers, {a1, a2, ... , ak} is called a product 阅读全文
posted @ 2017-06-22 11:55 claireyuancy 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 今天在XCode6.3上面重写TabBar的时候,自己定义tabBar的代理遇到的一个问题 在重写tabBar的代理的时候遇到了一个警告。 解决方法: 在.m文件里 警告消失 $(function () { $('pre.prettyprint code').each(function () { v 阅读全文
posted @ 2017-06-22 11:00 claireyuancy 阅读(101) 评论(0) 推荐(0) 编辑
摘要: PopupWindow简单介绍 PopupWindow是悬浮在当前activity上的一个容器,用它能够展示随意的内容。 PopupWindow跟位置有关的API有以下几个: showAsDropDown(View anchor, int xoff, int yoff, int gravity) 显 阅读全文
posted @ 2017-06-22 09:46 claireyuancy 阅读(338) 评论(0) 推荐(0) 编辑
摘要: PHP7和HHVM比較PHP7的在真实场景的性能确实已经和HHVM相当, 在一些场景甚至超过了HHVM。HHVM的运维复杂, 是多线程模型, 这就代表着假设一个线程导致crash了, 那么整个服务就挂了, 而且它不会自己主动重新启动。另外它採用JIT, 那么意味着, 重新启动以后要预热, 没有预热的 阅读全文
posted @ 2017-06-22 09:11 claireyuancy 阅读(9215) 评论(0) 推荐(0) 编辑
摘要: 1. ACS简单介绍 Oracle Database 11g提供了Adaptive Cursor Sharing (ACS)功能,以克服以往不该共享的游标被共享的可能性。ACS使用两个新指标:sensitivity and bindawareness来实施该特点。 2. ACS机制 2.1. Ada 阅读全文
posted @ 2017-06-21 21:12 claireyuancy 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 问题: [2014-07-30 20:20:25 - nativeSensorStl] gdbserver output: [2014-07-30 20:20:25 - nativeSensorStl] run-as: Package 'com.example.nativesensorstl' is 阅读全文
posted @ 2017-06-21 19:48 claireyuancy 阅读(790) 评论(0) 推荐(0) 编辑
上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 157 下一页