题目描述 FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 <= N <= 10) in a certain order and then sum adjacent numb ...
分类:
其他好文 时间:
2017-02-03 15:48:18
阅读次数:
197
leetcode 191. Number of 1 Bits 题意: Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hammin ...
分类:
编程语言 时间:
2017-02-02 15:45:04
阅读次数:
223
Finally the Great Magical Lamp was in Aladdin's hand. Now he wanted to return home. But he didn't want to take any help from the Genie because he thou ...
分类:
其他好文 时间:
2017-01-31 18:32:58
阅读次数:
244
unity官方的教程:https://blogs.unity3d.com/cn/2015/02/06/extending-unity-5-rendering-pipeline-command-buffers/ 文章底部附带了一个demo工程 用官方例子改了改,作为测试脚本 using UnityEn ...
分类:
数据库 时间:
2017-01-26 12:29:00
阅读次数:
724
1 不跟你多废话 上代码! /// <summary> /// SQL关键字转换器 /// </summary> public class SqlConverter : IKeywordsConvertible { public SqlConverter(string[] keywords) { K ...
分类:
数据库 时间:
2017-01-25 13:35:14
阅读次数:
190
# OpenStreetMap经纬度转行列号 def deg2num(lat_deg, lon_deg, zoom): lat_rad = math.radians(lat_deg) n = 2.0 ** zoom xtile = int((lon_deg + 180.0) / 360.0 * n) ...
分类:
其他好文 时间:
2017-01-24 09:56:16
阅读次数:
911
水题大失败 原题: 某人有一套玩具,并想法给玩具命名。首先他选择WING四个字母中的任意一个字母作为玩具的基本名字。然后他会根据自己的喜好,将名字中任意一个字母用“WING”中任意两个字母代替,使得自己的名字能够扩充得很长。现在,他想请你猜猜某一个很长的名字,最初可能是由哪几个字母变形过来的。 第一 ...
分类:
其他好文 时间:
2017-01-22 19:05:41
阅读次数:
168
一、搞定 CSS CSS 文件将被 Meteor 自动加载并简化。因此,不同于其它的静态文件都被放置于/public 文件夹,请将 CSS文件放入/client 文件夹。请创建一个client/stylesheets/ 文件夹并将以下style.css 文件放置入内。 .grid-block, .m ...
分类:
Web程序 时间:
2017-01-22 17:59:45
阅读次数:
294
前一段基本是做一天题目就休息一天到两天,假期里状态不大好,还感冒了几天... 乙级1010 1 #include<cstdio> 2 const int maxn=1010; 3 int main() 4 { 5 int n,e,a[maxn]={0},count=0;//n系数,e指数 6 whi ...
分类:
其他好文 时间:
2017-01-22 12:16:00
阅读次数:
142
原本在开发一个报表插件,因为需要远程传输,因此需要序列化报表,序列化FastReport有两种方式, 1.仅序列化数据,由客户端接受到数据,并呈现报表,这种方式需要在客户端存储报表格式文件xxx.Frf, 2.序列化FastReport的结果集(即,得到数据后可以存成的frp文件),这样frf文件不 ...
分类:
其他好文 时间:
2017-01-21 00:28:22
阅读次数:
245