需要使用join,例如select g.id,g.res_count,count(gr.r_id) cnt from mb_game_res gr left join mb_game g on gr.g_id = g.id group by gr.g_id order by cnt descupda...
分类:
数据库 时间:
2014-08-30 18:56:19
阅读次数:
243
题目链接
题意:求出f(k) % m
思路:f(x) = a0 * f(x-1) + a1 * f(x-2) + a2 * f(x-3) + …… + a9 * f(x-10),所以可以得到一个矩阵
(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9)
(1, 0, 0, 0, 0, 0, 0, 0, 0, 0)
(0, 1, 0, ...
分类:
其他好文 时间:
2014-08-30 12:42:49
阅读次数:
226
如果是Windows7、Windows8系统只要删除当前用户目录下的AppData\Roaming\Subversion\auth\svn.simple比如我的用户名taoweiji,就删除C:\Users\taoweiji\AppData\Roaming\Subversion\auth\svn.s...
Problem Description
Sudoku is a popular single player game. The objective is to fill a 9x9 matrix with digits so that each column, each row, and all 9 non-overlapping 3x3 sub-matrices contain all o...
分类:
其他好文 时间:
2014-08-30 11:18:09
阅读次数:
286
hdu 4267 A Simple Problem with Integers(树形结构-线段树)...
分类:
其他好文 时间:
2014-08-30 00:03:18
阅读次数:
297
题目大意:D表示在区间x,y内所有的元素扩充一倍;Q表示查询在这个下表以内的数字最多的个数为多少。
如:1,2,3.D 1 3 之后就变成了 1 1 2 2 3 3.Q 1 4 输出 2.
解题思路:每个节点记录两个信息:最大值的个数以及这个点一共有多少个数字。
A simple simulation problem.
Time Limit: 10000/5000 MS (Java/O...
分类:
其他好文 时间:
2014-08-29 22:46:08
阅读次数:
394
J -Phage War Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64u Phage War is a little flash game. In...
分类:
其他好文 时间:
2014-08-29 21:23:28
阅读次数:
304
什么是Snap?S.N.A.P 是Simple NX Application Programming (简易NX应用编程)的简称。是一个应用程序编程接口Application Programming Interface (API),并且允许用户对NX进行扩充和定制。用他编写出来的应用程序会大大减轻单...
分类:
其他好文 时间:
2014-08-29 19:50:08
阅读次数:
182
amazon s3 全称为 亚马逊简易存储服务(Amazon Simple Storage Service) 简单的说就是个网上存文件的服务器,可以把自己文件放上去,然后通过它开放的api来进行管理。官方网站是http://aws.amazon.com/cn/s3/在s3上面有一个bucket,我的...
分类:
编程语言 时间:
2014-08-29 12:39:47
阅读次数:
272
一、创建文件~ GameOverScene.h GameOverScene.cpp GameOverLayer.h GameOverLayer.cpp 二、How to do? 就是加入一个转场就好~转到GameOverScene,然后我们先简单实现下GameOverScene (1)搭建Game....
分类:
微信 时间:
2014-08-29 10:34:47
阅读次数:
363