题面:https://www.luogu.org/problemnew/show/CF280C ...
分类:
其他好文 时间:
2018-07-01 20:29:05
阅读次数:
212
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim ...
分类:
其他好文 时间:
2018-07-01 19:29:48
阅读次数:
136
Foj 2296 Alice and Bob 题意 题解 代码 扩展 game dfs 写法需考虑的状态表示问题需要多练习。 dp 需练习。 代码 c++ include include include include using namespace std; define fi first def ...
分类:
其他好文 时间:
2018-07-01 15:56:26
阅读次数:
181
Problem Statement Takahashi and Aoki are playing a stone-taking game. Initially, there are N piles of stones, and the i-th pile contains Ai stones and ...
分类:
其他好文 时间:
2018-06-30 20:53:37
阅读次数:
150
1.playSound ngui组件。 2.UIDragScrollView. 3. serverlistGrid.AddChild(go.transform); 告诉使之排序。 4. 5. transform.root.SendMessage("OnServerselect", this.game ...
分类:
其他好文 时间:
2018-06-29 22:25:05
阅读次数:
476
1、创建窗口大小:Create(NULL,_T("jzyTank"),MY_STYLE,CRect(0,0,GAME_WIN_W,GAME_WIN_H)); 2、获取客户区大小:GetClientRect(rcCli); 3、调用WindowsAPI设置窗口位置和大小:MoveWindow(&rcF ...
分类:
其他好文 时间:
2018-06-29 00:06:16
阅读次数:
201
hackerrankWeek of Code 31 A.Beautiful Word B.Accurate Sorting C.Zero-One Game D.Spanning Tree Fraction E.Colliding Circles F.Nominating Group Leaders ...
分类:
其他好文 时间:
2018-06-28 22:48:08
阅读次数:
189
题目描述 FJ and his cows enjoy playing a mental game. They write down the numbers from 11 to N(1 \le N \le 10)N(1≤N≤10) in a certain order and then sum ad ...
分类:
其他好文 时间:
2018-06-28 20:22:16
阅读次数:
171
题意: 一种游戏,2个人轮流控制棋子在一块有向图上移动,每次移动一条边,不能移动的人为输,无限循环则为平局,棋子初始位置为$S$ 现在有一个人可以同时控制两个玩家,问是否能使得第一个人必胜,并输出一个解,否则判断是否能平局 题解: 看到这个题首先我想到了强连通分量,但是事实证明求出强连通分量,缩点对 ...
分类:
其他好文 时间:
2018-06-28 00:53:22
阅读次数:
241
题目背景 Farmer John最近发明了一个游戏,来考验自命不凡的贝茜。 题目描述 Farmer John has challenged Bessie to the following game: FJ has a board with dots marked at N (2 ≤ N ≤ 200) ...
分类:
其他好文 时间:
2018-06-27 20:10:40
阅读次数:
186