摘要: "codeforces 133c" 题意 给你一串字符串,包含1~105个字符。按照规则输出数字。 1. The 8 bit binary notation of the ASCII code of the previous printed character is reversed. When t 阅读全文
posted @ 2020-04-29 15:55 xxxuanei 阅读(128) 评论(0) 推荐(0)
摘要: 题意 定义permutation,里面要有1到n所有数字,并且每个数字唯一。定义$[l,r], 1\leq l\leq r\leq n$, 为从l到r的subsegment。 定义framed segment: $max\{ p_l,p_{l+1},…,p_r \}−min\{ p_l,p_{l+1 阅读全文
posted @ 2020-04-29 14:55 xxxuanei 阅读(118) 评论(0) 推荐(0)
摘要: 题意 zxa有一个集合$A={a_1,a_2,⋯,a_n}$,n表示集合A的元素个数,这个集合明显有$(2^n−1)$个非空子集合。 对于每个属于A的子集合$B={b_1,b_2,⋯,b_m} (1≤m≤n)B={b_1,b_2,⋯,b_m}(1≤m≤n)$,m表示集合B的元素个数,zxa定义它的价 阅读全文
posted @ 2020-04-29 00:04 xxxuanei 阅读(158) 评论(0) 推荐(0)