随笔分类 - 其他 贪心
Codeforces Round #298 (Div. 2)A B C D
摘要:A. Exam time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Exam time limit per test 1 sec
阅读全文
Educational Codeforces Round 20 C 数学/贪心/构造
摘要:C. Maximal GCD time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Maximal GCD time limit
阅读全文
Codeforces Round #209 (Div. 2)A贪心 B思路 C思路+快速幂
摘要:A. Table time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Simon has a rectangular table co
阅读全文
ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) A map B贪心 C思路前缀
摘要:A. A Serial Killer time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. A Serial Killer ti
阅读全文
Codeforces Round #401 (Div. 2) A B C 水 贪心 dp
摘要:A. Shell Game time limit per test 0.5 seconds memory limit per test 256 megabytes input standard input output standard output A. Shell Game time limit
阅读全文
Codeforces Round #398 (Div. 2) A B C D 模拟 细节 dfs 贪心
摘要:A. Snacktower time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Snacktower time limit p
阅读全文
Codeforces Round #377 (Div. 2) A B C D 水/贪心/贪心/二分
摘要:A. Buy a Shovel time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Buy a Shovel time limi
阅读全文
Codeforces Round #375 (Div. 2) A B C 水 模拟 贪心
摘要:A. The New Year: Meeting Friends time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. The N
阅读全文
Codeforces Round #373 (Div. 2) A B C 水 贪心 模拟(四舍五入进位)
摘要:A. Vitya in the Countryside time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Vitya in t
阅读全文
Codeforces Round #277 (Div. 2) A B C 水 模拟 贪心
摘要:A. Calculating Function time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output For a positive in
阅读全文
Codeforces Round #370 (Div. 2) A B C 水 模拟 贪心
摘要:A. Memory and Crow time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output There are n integers
阅读全文
Codeforces Round #280 (Div. 2) A B C 暴力 水 贪心
摘要:A. Vanya and Cubes time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Vanya and Cubes tim
阅读全文
Codeforces Round #303 (Div. 2) D 贪心
摘要:D. Queue time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Little girl Susie went shopping
阅读全文
Codeforces Round #303 (Div. 2) C dp 贪心
摘要:C. Woodcutters time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Woodcutters time limit
阅读全文
Codeforces Round #303 (Div. 2) B 水 贪心
摘要:B. Equidistant String time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Little Susie loves
阅读全文
Codeforces Round #363 (Div. 2) C dp或贪心 两种方法
摘要:Description Vasya has n days of vacations! So he decided to improve his IT skills and do sport. Vasya knows the following information about each of th
阅读全文
Codeforces Round #316 (Div. 2) B 贪心
摘要:B. Simple Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Simple Game time limit
阅读全文
Codeforces Round #323 (Div. 2) C 无敌gcd 数学/贪心
摘要:C. GCD Table time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output The GCD table G of size n ×
阅读全文
Codeforces Round #323 (Div. 2) B 贪心,暴力
摘要:B. Robot's Task time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Robot's Task time limi
阅读全文
Codeforces Round #356 (Div. 2) A
摘要:A. Bear and Five Cards time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Bear and Five
阅读全文