码迷,mamicode.com
首页 >  
搜索关键字:playing a game    ( 5937个结果
【cf 1194 D】1-2-K Game
(当时让这道sb题卡住了,我比sb还sb) 题意: n个东西,两个人轮流取,每次可以取走1个,2个或k个,不能取的人输,求谁必胜。 $0\leq n \leq 10^{9},3\leq k \leq 10^{9}$ 题解: 假如没有这个k,显然如果n是3的倍数则后手赢,否则先手赢。 操作方法就是某一 ...
分类:其他好文   时间:2019-10-13 12:40:39    阅读次数:88
Templates
Game theory Nim SG function Graph theory SPFA Dijkstra MST (Kruskal) Virtual tree 例: "[SDOI2011]消耗战" Tree plus cycle (contaning multiple edges) Heavy ...
分类:其他好文   时间:2019-10-12 22:26:29    阅读次数:95
视频录制软件
bandicam(班迪) 非免费软件 bandicam游戏录制教程:https://www.bandicam.cn/how to/game recorder/ 游戏录制模式在Unity3D引擎中并不是很好用,会录制多份视频,且录制出来的视频无法播放。 bandicam版本: 4.3.3 1498 录 ...
分类:其他好文   时间:2019-10-10 20:48:29    阅读次数:121
1002 Game (贪心模拟)
1002 Game (贪心模拟)Accepts: 572 Submissions: 6218 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 度度 ...
分类:其他好文   时间:2019-10-09 23:56:12    阅读次数:232
Codeforces Round #585 (Div. 2) D. Ticket Game
链接: https://codeforces.com/contest/1215/problem/D 题意: Monocarp and Bicarp live in Berland, where every bus ticket consists of n digits (n is an even n ...
分类:其他好文   时间:2019-10-08 14:06:35    阅读次数:93
[CSP-S模拟测试63]题解
A.Median 这题的数据生成方式并没有什么规律,所以可以认为是随机数据。 维护一个桶,表示当前K长区间里的值域情况。 并且用变量记录中位数值域上的左侧有多少个数,当区间调整时一并调整桶和这个变量即可。 由于是随机数据,所以每次的调整幅度并不会很大,近似于常数。 复杂度$O(n)$。 B.Game ...
分类:其他好文   时间:2019-10-08 09:46:39    阅读次数:110
P2964 [USACO09NOV]硬币的游戏A Coin Game
题目描述 Farmer John's cows like to play coin games so FJ has invented with a new two-player coin game called Xoinc for them. Initially a stack of N (5 <= ...
分类:其他好文   时间:2019-10-08 00:58:08    阅读次数:145
Tree Recovery
Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital letters in t ...
分类:其他好文   时间:2019-10-07 21:48:56    阅读次数:117
DynamoDB 流 和 AWS Lambda 触发器
Amazon DynamoDB 与 AWS Lambda 集成,使您能够创建触发器 — 自动响应 DynamoDB 流 中的事件的代码片段。利用触发器,您可以创建应对 DynamoDB 表中的数据修改的应用程序。 如果您在表中启用 DynamoDB 流,则可以将流 Amazon 资源名称 (ARN) ...
分类:数据库   时间:2019-10-07 19:31:45    阅读次数:181
vjudge A Funny Game 思维题 (其实今天讲的全是数学。。。)
原文链接https://vjudge.net/contest/331993#problem/H Alice and Bob decide to play a funny game. At the beginning of the game they pick n(1 <= n <= 10 6) co ...
分类:其他好文   时间:2019-10-06 20:58:13    阅读次数:128
5937条   上一页 1 ... 45 46 47 48 49 ... 594 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!