随笔分类 - 思维~~~
摘要:http://codeforces.com/problemset/problem/1009/B B. Minimum Ternary String time limit per test 1 second memory limit per test 256 megabytes input stand
阅读全文
摘要:C. Sonya and Robots time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Since Sonya is intere
阅读全文
摘要:链接:https://www.nowcoder.com/acm/contest/131/A来源:牛客网 题目描述 ZZT 创造了一个队列 Q。这个队列包含了 N 个元素,队列中的第 i 个元素用 Qi 表示。Q1 表示队头元素,QN 表示队尾元素。队列中的元素是 N 的一个全排列。 ZZT 需要在这
阅读全文
摘要:D. Suit and Tie time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Suit and Tie time lim
阅读全文
摘要:B. World Cup time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Allen wants to enter a fan z
阅读全文
摘要:C. Alphabetic Removals time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given a s
阅读全文
摘要:链接:https://www.nowcoder.com/acm/contest/134/I来源:牛客网 题目描述 铁子的班级在毕业晚会有一个合唱节目,到了毕业晚会的时候,他们必须排成一排一起合唱"认错","当然是选择原谅他"等一系列原谅歌曲,但是当队形布置好的时候,领导们觉得队形里最长的连续的女生的
阅读全文
摘要:链接:https://www.nowcoder.com/acm/contest/134/H来源:牛客网 题目描述 有n个盒子摆成一排,每个盒子内都有ai个糖果。 现在你可以执行以下操作: ·你可以选择任意一个盒子,在选择的盒子内吃掉一个糖果。 对你的要求如下: ·任何m个相邻的盒子内糖果数量不能超过
阅读全文
摘要:C. Two Squares time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given two squares,
阅读全文
摘要:B. Knights of a Polygonal Table time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Unlike Kn
阅读全文
摘要:C. A Mist of Florescence time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output As the boat drif
阅读全文
摘要:http://codeforces.com/contest/990/problem/C C. Bracket Sequences Concatenation Problem time limit per test 2 seconds memory limit per test 256 megabyt
阅读全文
摘要:C. Kuro and Walking Route time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Kuro and Wa
阅读全文
摘要:C. Make a Square time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given a positiv
阅读全文
摘要:B. Students in Railway Carriage time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Stude
阅读全文
摘要:A. Equator time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Polycarp has created his own
阅读全文
摘要:Packets Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 59725 Accepted: 20273 Description A factory produces products packed in square pack
阅读全文