Bootstrap Bootstrap网址:https://v3.bootcss.com/getting started/?tdsourcetag=s_pctim_aiomsg Font Awesome网址:http://fontawesome.dashgame.com/ basic Bootstr ...
分类:
其他好文 时间:
2018-11-01 22:40:33
阅读次数:
337
引入命名空间 using UnityEngine.UI; using UnityEngine.SceneManagement; 同步和异步: 1. 同步直接怼过来 (若机器low或场景大 就会卡) 2. 异步 直接怼到一个中间场景(过度场景(显示进度条)) --> 到场景S3 3. 在异步中的两个w ...
分类:
编程语言 时间:
2018-10-31 20:51:17
阅读次数:
162
很显然是一道博弈论! 那么就用搜索来解决。 首先会发现一个性质,即牌的顺序对答案是没有影响的!(简直废话) 所以可以计算出所有的状态数是不超10e8的 所以可以预处理出所有状态的结果再O(1)返回答案 因为两人都不傻,所以当某一状态的后继状态出现先手必败时,此状态一定先手必胜 建图跑拓扑 若某一状态 ...
分类:
其他好文 时间:
2018-10-31 01:16:23
阅读次数:
188
Fat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each grid of this board is con ...
分类:
其他好文 时间:
2018-10-30 22:49:14
阅读次数:
222
今天教大家使用Egret制作一款功能简单的游戏——《冰桶挑战》.
分类:
其他好文 时间:
2018-10-30 17:38:53
阅读次数:
257
这道题里主要学习了sort函数、sort的cmp函数写法、C++的map用法(其实和数组一样) Your task is to read a picture of a chessboard position and print it in the chess notation. Input Spec ...
分类:
其他好文 时间:
2018-10-30 14:55:52
阅读次数:
234
Memento模式? 使用面向对象编程的方式实现撤销功能时,需要事先保存实例的相关状态信息。然后,在撤销时,还需要根据所保存的信息将实例恢复至原来的状态。这个时候你需要使用Memento设计模式。(以及实例实现对状态的保存) 关键字: 1.·Undo(撤销) 2.·Redo(重做) 3.·Histo ...
分类:
其他好文 时间:
2018-10-29 23:35:51
阅读次数:
364
Description Farmer John and Betsy are playing a game with N (1 <= N <= 30,000)identical cubes labeled 1 through N. They start with N stacks, each cont ...
分类:
其他好文 时间:
2018-10-28 20:45:17
阅读次数:
168
题目: Go Northwest! is a game usually played in the park main hall when occasional rainy weather discourages the visitors from enjoying outdoor attracti ...
分类:
其他好文 时间:
2018-10-28 00:54:14
阅读次数:
186
A - Candy Game 水。 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 #define N 1010 5 int t, n; 6 int a[N], b[N]; 7 8 int main() 9 { 10 scanf("%d", ...
分类:
其他好文 时间:
2018-10-27 21:16:36
阅读次数:
149