码迷,mamicode.com
首页 >  
搜索关键字:a stone removing gam    ( 709个结果
Codeforces Round #140 (Div. 1) Naughty Stone Piles 贪心
#include #include #include #include #include using namespace std; const int maxn = 1000010; __int64 sum[maxn] ; __int64 num[maxn]; __int64 ans[maxn]; __int64 vis[maxn] ; __int64 query; __i...
分类:其他好文   时间:2015-04-16 23:49:50    阅读次数:258
Build Lowest Number by Removing n digits from a given number
Given a string ‘str’ of digits and an integer ‘n’, build the lowest possible number by removing ‘n’ digits from the string and not changing the order ...
分类:其他好文   时间:2015-04-16 11:49:38    阅读次数:179
Asset Catalog Help (十)---Removing Images and Sets
Removing Images and SetsOptimize the size of an asset catalog by removing unused images or sets.通过删除不用的图片或图片集优化一个asset catalog的大小。Do one of the follow...
分类:其他好文   时间:2015-04-15 21:13:13    阅读次数:107
leetcode-19 Remove Nth Node From End of List
问题描述: Given a linkedlist, remove the nth node fromthe end of list and return its head. For example,    Given linked list: 1->2->3->4->5,and n = 2.    After removing the second node from the end...
分类:其他好文   时间:2015-04-15 17:20:23    阅读次数:189
FZU - 2144 Shooting Game
Problem 2144 Shooting Game Accept: 267    Submit: 1368 Time Limit: 1000 mSec    Memory Limit : 32768 KB  Problem Description Fat brother and Maze are playing a kind of special (hentai) gam...
分类:其他好文   时间:2015-04-14 08:30:26    阅读次数:127
hdu4764 Stone 巴什博弈
//先到n-1的赢 #include #include #include using namespace std ; int main() {     int n , k;     while(scanf("%d%d",&n,&k)  , n+k)     {         if((n-1)%(k+1) == 0) printf("Jiang\n") ;         e...
分类:其他好文   时间:2015-04-11 14:52:57    阅读次数:114
活动目录(AD)
活动目录又称AD,为什么要学习AD?微软针对计算机及用户账号的管理俩种模式,一种为工作组称为分散式管理(工作组模式,没台计算机只负责管理本机的账号。);另一种像AD一样的叫集中式管理。(域环境,所有的账号信息存放于域控制器)工作组实例:希望XX能访问server1,2的gam..
分类:其他好文   时间:2015-04-11 06:45:36    阅读次数:154
jdk自带的动态代理
package com.stone.dp.proxy;import java.lang.reflect.InvocationHandler;import java.lang.reflect.Method;import java.lang.reflect.Proxy;/** * jdk自带的动态代理;...
分类:其他好文   时间:2015-04-07 09:37:30    阅读次数:106
hdu 1729 Stone Game SG函数
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1729题意:2个玩家,有N个箱子,每个箱子的大小是Si,游戏开始前,就有一些石子在这些箱子里了。游戏者轮流选择箱子,然后把石子放入箱子里。并且放入的石子数量不能大于原来箱子里就有的石子的数量的平方。比如说...
分类:其他好文   时间:2015-04-02 22:10:39    阅读次数:150
HDU1729 Stone Game (SG函数)
HDU1729 Stone Game (SG函数)...
分类:其他好文   时间:2015-04-01 17:39:36    阅读次数:131
709条   上一页 1 ... 51 52 53 54 55 ... 71 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!