Codeforces
cugzyc
Coding && Reading.
展开
-
Codeforces-731A A. Night at the Museum
A. Night at the Museumtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGrigoriy, like the hero of one famous comedy film, found a job as a night sec...原创 2018-04-11 20:21:07 · 262 阅读 · 0 评论 -
CodeForces - 271B
You've got an n × m matrix. The matrix consists of integers. In one move, you can apply a single transformation to the matrix: choose an arbitrary element of the matrix and increase it by 1. Each elem...原创 2018-04-17 22:06:00 · 157 阅读 · 0 评论 -
【codeforces 894A】QAQ
A. QAQ【题目链接】 time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output "QAQ" is a word to denote an expression of crying. Imagine "Q" as eye...原创 2018-07-24 20:04:30 · 156 阅读 · 0 评论 -
CodeForces 653 A. Bear and Three Balls
Limak is a little polar bear. He has n balls, the i-th ball has size ti. Limak wants to give one ball to each of his three friends. Giving gifts isn't easy — there are two rules Limak must obey to ma...原创 2018-07-24 16:48:45 · 263 阅读 · 0 评论