
cf
一枚软的硬币
一个想学习算法的工程。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
codeforces - 500A 图的遍历 Java
A. New Year Transportation time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output New Year is coming in Line W原创 2017-08-16 20:25:31 · 409 阅读 · 0 评论 -
An abandoned sentiment from past Java 暴力
time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A few years ago, Hitagi encountered a giant crab, who stole the whole of her body w...原创 2017-06-08 17:37:25 · 338 阅读 · 0 评论 -
3-palindrome java
In the beginning of the new year Keivan decided to reverse his name. He doesn't like palindromes, so he changed Naviek to Navick. He is too selfish, so for a given n he wants to obtain a string of n原创 2017-05-07 12:17:36 · 387 阅读 · 0 评论 -
Minimum number of steps java
We have a string of letters 'a' and 'b'. We want to perform some operations on it. On each step we choose one of substrings "ab" in the string and replace it with the string "bba". If we have no "ab" ...原创 2017-05-06 18:13:15 · 332 阅读 · 1 评论 -
codeforces C. Boxes Packing
C. Boxes Packingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMishka has got n empty boxes. For every i (1 ≤ i ≤ n), i-th box is a cube with side...原创 2018-05-06 17:45:03 · 461 阅读 · 0 评论