https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-powershell?view=powershell-6 ...
分类:
系统相关 时间:
2019-04-24 16:10:26
阅读次数:
143
#define_CRT_SECURE_NO_WARNINGS1#include"game.h"voidmenu(){printf("*\n");printf("*1.play*\n");printf("*0.exit*\n");printf("*\n");}voidgame(){charret=0;
分类:
其他好文 时间:
2019-04-24 16:09:14
阅读次数:
141
我国民间有个古老的游戏:就是有物品若干堆,(物品可以是火柴,围棋都可以)。 两个人轮流从堆中取若干件,规定取光物体者为胜。这个就是我们今天要研究的组合游戏。 http://acm.hdu.edu.cn/showproblem.php?pid=1846 证明: 假设n=m+1 那先取者必赢 那如果n= ...
分类:
其他好文 时间:
2019-04-22 23:00:48
阅读次数:
181
南昌邀请赛网络赛 D.Match Stick Game "题目传送门" 题目就会给你一个长度为n的字符串,其中$1现在在不改变每个数的位数,数的总数以及运算符的个数的前提下,可以对火柴棒重新拼接。询问最后可以拼接出来的最大值是多少。 这个自己看下题目可能要清楚一些= = 每一个字符都是 ...
分类:
其他好文 时间:
2019-04-22 22:32:55
阅读次数:
179
David has a white board with 2×N2 \times N2×N grids.He decides to paint some grids black with his brush.He always starts at the top left corner and en ...
分类:
其他好文 时间:
2019-04-22 21:05:58
阅读次数:
170
In the game of Sudoku, you are given a large 9 × 9 grid divided into smaller 3 × 3 subgrids. For example, . 2 7 3 8 . . 1 . . 1 . . . 6 7 3 5 . . . . ...
分类:
其他好文 时间:
2019-04-22 16:33:46
阅读次数:
170
[TOC] 题目描述: 爱丽丝和鲍勃一起玩游戏,他们轮流行动。爱丽丝先手开局。 最初,黑板上有一个数字 N 。在每个玩家的回合,玩家需要执行以下操作: + 选出任一 ,满足 `0 flag(1001, false); flag[2] = true; if(N ...
分类:
其他好文 时间:
2019-04-22 12:37:07
阅读次数:
383
Greedy HOUHOU 没想到用树来管理这些给出的数据 不是很能看得懂题目的要求 Angry FFF Party 不会利用斐波那契解题 Match Stick Game 完全没想到用动态规划来解 Distance on the tree 不会写主席树 More xor 题读了很多遍都没读懂,一直 ...
分类:
其他好文 时间:
2019-04-22 00:52:21
阅读次数:
135
描述 Now and then you play the following game with your friend. Your friend writes down a sequence consisting of zeroes and ones. You choose a continuou ...
分类:
其他好文 时间:
2019-04-21 20:34:17
阅读次数:
259
pro:如题。给定上圆半径r,下圆半径R,高度h。问最大内接球半径。 sol:由对称性,我们放到二维来看,即给这么一个梯形,问最大内接圆半径。 证明:如果是一个三角形的内接圆C,他内切于三边。 现在这个梯形,其内接圆要么切于对应的三角形。要么切于上下底。 所以取min即可。 ...
分类:
系统相关 时间:
2019-04-21 20:16:37
阅读次数:
178