Life is a game,and you lose it,so you suicide. But you can not kill yourself before you solve this problem: Given you a sequence of number a 1, a 2, . ...
分类:
其他好文 时间:
2019-05-08 09:37:23
阅读次数:
151
Mine sweeper is a very popular small game in Windows operating system. The object of the game is to find mines, and mark them out. You mark them by cl ...
分类:
其他好文 时间:
2019-05-08 09:32:34
阅读次数:
82
https://vjudge.net/contest/299785#problem/E 题意:给你n个点,n-1个边构成有向数,同时每个点都有一个权值,现在给你k次操作,每次操作你必须从根节点1出发,然后走到一个叶节点结束然后将它们点的权值累加,同时走过的点的权值不可以重复计算,问你k次之后最大得到 ...
分类:
其他好文 时间:
2019-05-07 19:36:51
阅读次数:
146
大意: 给定$n$元素序列, 两个人从两端轮流拿数, 每一步假设对手上次取k, 那么只能取k或k+1, 先手第一步取1或2, 直到不能拿时停止. 先手要最大化两人数字和的差, 后手要最小化, 求最后差是多少. 显然状态数是$O(n^2)$的, 直接暴力DP ...
分类:
其他好文 时间:
2019-05-06 19:09:54
阅读次数:
104
网站链接:http://monyer.com/game/game1/ 首页 打开网站之后找不到第一关的链接,然后F12查看源代码,发现第一关链接:http://monyer.com/game/game1/first.php 第一关 首先查看源代码,发现一段js代码 密码是两个空格,对!就是两个空格。 ...
分类:
其他好文 时间:
2019-05-06 19:01:23
阅读次数:
382
Problem G: Game of Cards $$ Time Limit: 1 s \quad Memory Limit: 256 MiB $$ 题意 题意就是给出$n$堆扑克牌,然后给出一个$m$,每次一个人的操作方法是从一堆扑克牌上面选出$0 m$张牌拿开,然后此时顶上牌的点数是$x$,在拿 ...
分类:
其他好文 时间:
2019-05-06 18:45:24
阅读次数:
174
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 ...
分类:
编程语言 时间:
2019-05-06 14:38:14
阅读次数:
172
事务(Transaction),一般是指要做的或所做的事情,要么全部完成,要么全部失败 如果事务中的for循环需要访问同一集合中已经插入的数据,那么集合中的每个对象在插入完成后都需要saveChang() ...
分类:
其他好文 时间:
2019-05-05 17:59:01
阅读次数:
120
Little Sub and Johann 题目描述 Little Sub and Johann are good friends and they often play games together. Recently, they like playing with stones.They hav ...
分类:
其他好文 时间:
2019-05-04 22:31:27
阅读次数:
200
终端分为 tty1-tty7 tty1-tty6是设备终端 tty7是桌面用户的终端 ps -a ——列出当前用户信息 ps -au——详细信息 PID——启动程序的进程ID tty——终端 ps -aux——查看没有终端的程序 kil 指令 kill -9 进程id kill -SIGKILL 进 ...
分类:
系统相关 时间:
2019-05-04 11:26:32
阅读次数:
164