上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 42 下一页
摘要: 喵哈哈村的几何大师╰☆莣メ誋こ月 Time Limit:1s Memory Limit:256MByte Submissions:269Solved:57 喵哈哈村的几何大师╰☆莣メ誋こ月 Time Limit:1s Memory Limit:256MByte Submissions:269Solv 阅读全文
posted @ 2017-05-31 00:12 mxzf0213 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Vladik and Entertaining Flags time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Vladik and 阅读全文
posted @ 2017-05-30 23:22 mxzf0213 阅读(272) 评论(0) 推荐(0) 编辑
摘要: XOR Queries 时间限制: 1000ms 内存限制: 256M 描述 给出一个长度为n的数组C,回答m个形式为(L,R,A,B)的询问,含义为存在多少个不同的数组下标k∈[L,R]满足C[k]⨁A≥B(式中⨁为异或运算)。 输入 输入第一行为一个整数T,表示一共有T组测试数据。对于每组测试数 阅读全文
posted @ 2017-05-17 17:04 mxzf0213 阅读(449) 评论(0) 推荐(0) 编辑
摘要: Palindrome 时间限制: 1000ms 内存限制: 128M 描述 给出一个仅由小写字母构成的字符串,求其最长回文子串的长度。由于该字符串很长,故将其以压缩后的形式给出。压缩后的字符串有n段,其中第i段用一个整数lengthi和一个小写字母ci来描述,表示第i段是由lengthi个连续的小写 阅读全文
posted @ 2017-05-17 17:01 mxzf0213 阅读(395) 评论(0) 推荐(0) 编辑
摘要: F - Many Moves Time limit : 2sec / Memory limit : 256MB Score : 900 points Problem Statement There are N squares in a row. The squares are numbered 1, 阅读全文
posted @ 2017-05-03 22:04 mxzf0213 阅读(371) 评论(0) 推荐(0) 编辑
摘要: E - Ball Coloring Time limit : 2sec / Memory limit : 256MB Score : 700 points Problem Statement There are N bags, each containing two white balls. The 阅读全文
posted @ 2017-05-03 21:56 mxzf0213 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 1005: 琐碎的区间 题目描述 给出一个长度为 n 的整数序列 A[1..n],有三种操作: 1 l r x : 把[l, r]区间的每个数都加上 x 2 l r : 把[l, r] 区间每个 A[i]变为sqrt(a[i])的整数部分3 l r : 求[l, r] 区间所有数的和 其中 l 和 阅读全文
posted @ 2017-05-02 00:19 mxzf0213 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Censor frog is now a editor to censor so-called sensitive words (敏感词). She has a long text p . Her job is relatively simple -- just to find the first 阅读全文
posted @ 2017-05-01 10:22 mxzf0213 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Travel The country frog lives in has n towns which are conveniently numbered by 1,2,…,n . Among n(n−1)2 pairs of towns, m of them are connected by bid 阅读全文
posted @ 2017-05-01 00:15 mxzf0213 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Right turn frog is trapped in a maze. The maze is infinitely large and divided into grids. It also consists of n obstacles, where the i-th obstacle li 阅读全文
posted @ 2017-05-01 00:06 mxzf0213 阅读(363) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 42 下一页