题目链接:HDOJ - 5159这道题的做法太多了..BC的第二题也是可以非常水的..算法一我在比赛的时候写的算法是这样的..预处理出所有的答案,然后对于每个询问直接输出。询问 (a, b) 记作 (a, b) 。(a, b) 的答案是由 (a, b-1) 的答案推出的。(a, 1) 的答案是 1 ...
分类:
其他好文 时间:
2015-01-11 17:29:21
阅读次数:
150
Problem Description
There are x cards on the desk, they are numbered from 1 to x. The score of the card which is numbered i(1<=i<=x) is i. Every round BieBie picks one card out of the x cards,then pu...
分类:
其他好文 时间:
2015-01-11 09:42:31
阅读次数:
154
CardTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 191Accepted Submission(s): 52Special JudgePro...
分类:
其他好文 时间:
2015-01-10 23:31:10
阅读次数:
312
Memory Options是模拟器的运行内存大小,类比电脑内存大小,就是在设置->应用程序中,正在运行标签页下面显示的那个大小Internal storage是模拟器内置存储空间大小,用于存放安装程序和程序数据的,就是在设置->应用程序中,其它标签页下面显示的那个大小SD card就不用解释了吧?...
分类:
移动开发 时间:
2015-01-08 19:56:54
阅读次数:
168
Altium Designer 官方库讲解大全
第一篇: Altium Designer Library 介绍 - 3M Footprints
第二篇: Altium Designer Library 介绍 - 3M Card CompactFlash...
分类:
其他好文 时间:
2015-01-03 19:51:41
阅读次数:
167
1.查看表结构DESC TableName;2.查看表创建语句SHOW CREATE TABLE TableName3.连接字符串CONCAT(r.USER_ID,”:")4.截取字符串RIGHT(r.CARD_ID,6)LEFT(r.CARD_ID,6)substring(str, pos, le...
分类:
数据库 时间:
2015-01-02 06:20:46
阅读次数:
190
poj 2886 Who Gets the Most Candies?
Description
N children are sitting in a circle to play a game.
The children are numbered from 1 to N in clockwise order. Each of them has a card with ...
分类:
其他好文 时间:
2014-12-30 23:42:05
阅读次数:
310
AndroidManifest.xml是否加入了SDCard的权限设置android sdcard read-only file system 的解决办法:另外还要检查你的AVD虚拟机里是否添加了 sd card Support 这项!=============【解决方法】在cmd窗口一条命令就可以...
分类:
移动开发 时间:
2014-12-30 17:00:54
阅读次数:
215
1.导出表数据到txt文件:1 export to /brcb_edp/data_public_edp/file/CCDM/file/FILE_CCDM_DR_CARD_CUST_DET.txt of del select * from PDM.FILE_CCDM_DR_CARD_CUST_DET解...
分类:
数据库 时间:
2014-12-30 11:22:37
阅读次数:
231