码迷,mamicode.com
首页 >  
搜索关键字:chinese remainder th    ( 6034个结果
uva 10090 Marbles
Problem FMarblesInput:standard inputOutput:standard outputI have some (say,n) marbles (small glass balls) and I am going to buy some boxes to store th...
分类:其他好文   时间:2014-05-26 14:45:04    阅读次数:319
Chinese_PRC_CI_AS and SQL_Latin1_General_CP1_CI_AS类型错误
在编写存储过程时,经常会用到临时表,而且往往会使用临时表与正式表相关联。当临时表与正式表关联的字段是字符类型的时候,因为临时表创建的字符类型会默认数据库的编码,而正式表的字符编码可能不同,那么这个时候,需要对正式表的该字段加上collate database_default 语句来进行关联,例句:c...
分类:数据库   时间:2014-05-26 07:32:53    阅读次数:248
poj 2985 The k-th Largest Group 求第K大数 Treap, Binary Index Tree, Segment Tree
题目链接:点击打开链接 题意:有两种操作,合并集合,查询第K大集合的元素个数。(总操作次数为2*10^5) Treap模板(静态数组) #include #include #include #include #include const int maxNode = 500000 + 100; const int inf = 0x3f3f3f3f; struct Tr...
分类:其他好文   时间:2014-05-24 23:18:09    阅读次数:522
欧拉项目005:最小公倍数
Smallest multiple Problem 5 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly di...
分类:其他好文   时间:2014-05-23 01:51:13    阅读次数:261
2E02-View-Lists-multiple -choice-list
介绍一个多选list /* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
分类:其他好文   时间:2014-05-23 00:52:57    阅读次数:455
cpp_namespace
usingandusing namespacehave validity only in the same block in which they are stated or in the entire source code file if they are used directly in th...
分类:其他好文   时间:2014-05-22 02:08:48    阅读次数:268
HDU 4393 Throw nails
http://acm.hdu.edu.cn/showproblem.php?pid=4393题意:有n个人,i-th人第一秒速度为Fi/s,之后Si/s。每一秒末,跑在最前面的人消失,如果有多个人同时在最前面,id最小的人消失。输出消失顺序。题解:因为Si最多只有100个,所以对Si进行操作。采用优...
分类:其他好文   时间:2014-05-21 19:23:37    阅读次数:270
搜集C++实现的线程池
现在很多语言都内置了线程池实现,但C++中却没有。本文列举一些C++实现的线程池工具。Boost.Threadpool 项目首页:http://threadpool.sourceforge.net Boost.Threadpool是一个基于Boost、跨平台的C++线程池库。Boost.Th...
分类:编程语言   时间:2014-05-21 18:54:30    阅读次数:363
2C01-View-Layout-Animation-Grid-Fade
介绍一个grid layout 顺序显示的代码 LayoutAnimation1.java /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th...
分类:其他好文   时间:2014-05-21 16:58:47    阅读次数:214
易飞报表数据库PostgreSQL改成MSSQL方式
简述步骤1.在mssql上新增一个数据库,设定如下,编码要选择“chinese_PRC_CI_AL_KS_WS”2.用sql命令。在report中新增一个View3.BDE设定。leadertemp50和leader一样的设定,但DATABASENAME=report4.condctors.ini改成报表数据库DBE相信操作步骤见文档:主站下载:http://www.qyw..
分类:数据库   时间:2014-05-20 20:42:13    阅读次数:580
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!