摘要:
4245: [ONTAK2015]OR-XOR Description 给定一个长度为n的序列a[1],a[2],...,a[n],请将它划分为m段连续的区间,设第i段的费用c[i]为该段内所有数字的异或和,则总费用为c[1] or c[2] or ... or c[m]。请求出总费用的最小值。 给 阅读全文
摘要:
Blocks Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 5252 Accepted: 2165 Description Some of you may have played a game called 'Blocks'. 阅读全文
摘要:
1656: [Usaco2006 Jan] The Grove 树木 Description The pasture contains a small, contiguous grove of trees that has no 'holes' in the middle of the it. Be 阅读全文
摘要:
F. String Set Queries time limit per test:3 seconds memory limit per test:768 megabytes input:standard input output:standard output F. String Set Quer 阅读全文
摘要:
D. Slalom time limit per test:2 seconds memory limit per test:256 megabytes input:standard input output:standard output D. Slalom time limit per test: 阅读全文
摘要:
C. Sasha and Array time limit per test:5 seconds memory limit per test:256 megabytes input:standard input output: standard output C. Sasha and Array t 阅读全文
摘要:
C. Digit Tree time limit per test:3 seconds memory limit per test:256 megabytes input:standard input output:standard output C. Digit Tree time limit p 阅读全文
摘要:
G. Underfail time limit per test:1 second memory limit per test:256 megabytes input:standard input output:standard output G. Underfail time limit per 阅读全文
摘要:
F. Heroes of Making Magic III time limit per test:3 seconds memory limit per test:256 megabytes input:standard input output:standard output F. Heroes 阅读全文