#!/bin/bash#a="one,two,three,four"a=$(cf a|grep started |grep $1|tr -s ' '|cut -d ' ' -f 6-|cut -d ',' -f 1-)OLD_IFS="$IFS"IFS=","arr=($a)IFS="$OLD_IF... ...
分类:
Web程序 时间:
2017-11-14 23:26:31
阅读次数:
224
GB2312编码大约包含6000多汉字(不包括特殊字符),编码范围为第一位b0-f7,第二位编码范围为a1-fe(第一位为cf时,第二位为a1-d3),计算一下汉字个数为6762个汉字。当然还有其他的字符。包括控制键和其他字符大约7573个字符编码。 gbk编码是对gb2312编码的扩充,容纳的汉字 ...
分类:
其他好文 时间:
2017-11-14 22:35:17
阅读次数:
183
除非特别忙,我接下来会尽可能翻译我做的每道CF题的题面! "Codeforces 148D" 一袋老鼠 Bag of mice | 概率DP 水题 题面 胡小兔和司公子都认为对方是垃圾。 为了决出谁才是垃圾,大哥拿来了一袋老鼠,其中有w只白老鼠和b只黑老鼠。胡小兔先抓,先抓到白老鼠的人赢。 每次学姐 ...
分类:
其他好文 时间:
2017-11-14 18:39:04
阅读次数:
285
这次CF不是很难,我这种弱鸡都能在半个小时内连A四道……不过E题没想到还有这种折半+状压枚举+二分的骚操作,后面就挂G了…… A.Local Extrema 题目链接:https://cn.vjudge.net/problem/CodeForces-888A You are given an arr ...
分类:
其他好文 时间:
2017-11-13 19:48:47
阅读次数:
176
1、Educational Codeforces Round 29 F.Almost Permutation (见CF题记《Educational Codeforces Round 29》) 2、uva 11613 Acme Corporation 题意:有M月,X元素每个月单位保存费用为I,在每个 ...
分类:
其他好文 时间:
2017-11-12 11:11:44
阅读次数:
138
Jzzhu has invented a kind of sequences, they meet the following property: You are given x and y, please calculate fn modulo 1000000007 (109?+?7). Inpu ...
分类:
其他好文 时间:
2017-11-11 21:28:24
阅读次数:
165
自从我认识了你——OI, 我的电脑桌面不再是dota,炉石,我不再把手放在wasd上; 我的cf不是以前的cf; 我的lcs不是 而是 自从我认识了你——OI, 我知道了“犇”的读音; 我会不有大把的时间挥霍,我不像以前9点睡觉,都是每天都肝题到11点以后; 我买的书不是一些文学作品,而是板砖一般的 ...
分类:
其他好文 时间:
2017-11-11 00:24:08
阅读次数:
195
题目链接:http://codeforces.com/problemset/problem/888/C 题目: You are given a string s consisting of lowercase Latin letters. Character c is called k-domina ...
分类:
其他好文 时间:
2017-11-10 15:18:14
阅读次数:
312
这是我最新整理收集的cf 国外知名cdn 希望对国外加速的站长有所帮助。 描述一下Cloudflare能起减少DDOS攻击的危害作用,不能说完全DDOS预防,DDOS是无法预防的。分布式拒绝服务(DDoS:Distributed Denial of Service)攻击指借助于客户/服务器技术,将多 ...
分类:
其他好文 时间:
2017-11-08 13:16:23
阅读次数:
245
题目链接:http://codeforces.com/problemset/problem/862/C 题目: Mahmoud and Ehab are on the third stage of their adventures now. As you know, Dr. Evil likes s ...
分类:
其他好文 时间:
2017-11-03 23:53:51
阅读次数:
280