摘要:
P4016 负载平衡问题 题目描述 G G 公司有 n n 个沿铁路运输线环形排列的仓库,每个仓库存储的货物数量不等。如何用最少搬运量可以使 n n 个仓库的库存数量相同。搬运货物时,只能在相邻的仓库之间搬运。 输入格式 文件的第 11 行中有 11 个正整数 n n ,表示有 n n 个仓库。 第 阅读全文
摘要:
Make It Connected "CodeForces 1095F " You are given an undirected graph consisting of nn vertices. A number is written on each vertex; the number on v 阅读全文
摘要:
Physical Education Lessons "CodeForces 915E " This year Alex has finished school, and now he is a first year student of Berland State University. For 阅读全文
摘要:
Almost Acyclic Graph "CodeForces 915D " time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Y 阅读全文
摘要:
Yukino With Subinterval Yukino has an array a_1, a_2 \cdots a_n a 1, a 2⋯ a n . As a tsundere girl, Yukino is fond of studying subinterval. Today, she 阅读全文
摘要:
P3119 [USACO15JAN]草鉴定Grass Cownoisseur 题目描述 In an effort to better manage the grazing patterns of his cows, Farmer John has installed one way cow path 阅读全文
摘要:
Educational Codeforces Round 37 (Rated for Div. 2)C. Swap Adjacent Elements time limit per test 1 second memory limit per test 256 megabytes input sta 阅读全文
摘要:
G. List Of Integers time limit per test 5 seconds memory limit per test 256 megabytes input standard input output standard output Let's denote as L ( 阅读全文