A:Who is better? 题目链接:https://nanti.jisuanke.com/t/41383 题意: 类似于有N个石子,先手第一次不能拿完,每次后手只能拿 1 到 前一次拿的数量*2之间的数量,不能拿时则输 分析: 最近一直在刷博弈论的题,比赛的前一天晚上打的华东师范校赛第一题也 ...
分类:
其他好文 时间:
2019-09-08 09:43:20
阅读次数:
59
/** 斜杠、反斜杠相关函数 斜杠 (迈克杰克逊的经典动作) 反斜杠 (倒立) addcslashes("php","p");函数 输出\ph\p 返回指定字符前添加反斜杠 addslashes("who's xsh?"); 输出:who\'s xsh? 返回在预定义字符之前添加反斜杠 strips ...
分类:
Web程序 时间:
2019-09-06 18:38:18
阅读次数:
112
"Damn Single (单身狗)" is the Chinese nickname for someone who is being single. You are supposed to find those who are alone in a big party, so they can ...
分类:
其他好文 时间:
2019-09-05 23:28:00
阅读次数:
101
七、su命令用来切换用户前提是知道用户密码查看当前目录可以用whoami也可以用idsuusername切换过来的用户在/rootsu-username切换过来的用户在自己的家目录下,加了-号可以切换用户的配置和环境变量-c选项可以指定用户在不切换用户的情况下以指定用户去执行一条命令八、sudu命令可以让普通用户临时执行一条命令,以指定用户的身份去执行,通常以普通用户临时拥有root的权限去执行一
分类:
其他好文 时间:
2019-09-04 23:17:34
阅读次数:
238
打开题目网页,抓包,查源码都一无所获,然后就去看cookie,发现一个role变量,刚开始也不知道这个变量是什么,其值也是没有规律的一串字符串。看了别人源码才知道这是base64加密后的字符串,将其用bp解密后是f:5:"thrfg"(据他们的wp说这是rot13转义过的)使用网上的rot13解密后 ...
分类:
其他好文 时间:
2019-09-02 23:58:11
阅读次数:
212
链接: https://vjudge.net/problem/POJ 2096 author=0 题意: Ivan is fond of collecting. Unlike other people who collect post stamps, coins or other material ...
分类:
其他好文 时间:
2019-09-02 13:48:51
阅读次数:
82
题目标签: 题目给了我们 Customers 和 Orders 两个表格,让我们找到 从没订购过的客户。 首先从Orders 得到 订购过的CustomerId,然后再去Customers 里找 没有出现过的 Id,返回名字。 Java Solution: Runtime: 264 ms, fast ...
分类:
其他好文 时间:
2019-09-02 09:20:22
阅读次数:
65
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Input Specification: Each inp ...
分类:
其他好文 时间:
2019-09-01 23:30:55
阅读次数:
125
Linux基础 Linux: 多用户多任务的OS Ubuntu上网方式: 1. NAT模式:借助于Windows上网(交换机上只识别到一台电脑) 2. 桥接模式:借助于点的物理网卡虚拟出来一台电脑上网(交换机上可识别出两台电脑) 3. 仅主机模式:仅Windows和虚拟机通信,不需要网络 sudo ...
分类:
系统相关 时间:
2019-09-01 16:44:27
阅读次数:
116
It's almost summer time, and that means that it's almost summer construction time! This year, the good people who are in charge of the roads on the tr ...
分类:
其他好文 时间:
2019-08-31 21:06:14
阅读次数:
95