摘要:
Vladik and Entertaining Flags time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Vladik and 阅读全文
摘要:
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, 阅读全文
摘要:
E - Ball Coloring Time limit : 2sec / Memory limit : 256MB Score : 700 points Problem Statement There are N bags, each containing two white balls. The 阅读全文
摘要:
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 和 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文