随笔分类 - online judge Codeforces
摘要:Preorder Test 题目连接: http://www.codeforces.com/contest/627/problem/D Description For his computer science class, Jacob builds a model tree with sticks
阅读全文
摘要:C. Package Delivery 题目连接: http://www.codeforces.com/contest/627/problem/C Description Johnny drives a truck and must deliver a package from his hometo
阅读全文
摘要:F. Magic Matrix 题目连接: http://www.codeforces.com/contest/632/problem/F Description You're given a matrix A of size n × n. Let's call the matrix with no
阅读全文
摘要:E. Thief in a Shop 题目连接: http://www.codeforces.com/contest/632/problem/E Description A thief made his way to a shop. As usual he has his lucky knapsac
阅读全文
摘要:D. Longest Subsequence 题目连接: http://www.codeforces.com/contest/632/problem/D Description You are given array a with n elements and the number m. Consi
阅读全文
摘要:C. The Smallest String Concatenation 题目连接: http://www.codeforces.com/contest/632/problem/C Description You're given a list of n strings a1, a2, ..., a
阅读全文
摘要:B. Alice, Bob, Two Teams 题目连接: http://www.codeforces.com/contest/632/problem/B Description Alice and Bob are playing a game. The game involves splitti
阅读全文
摘要:A. Grandma Laura and Apples 题目连接: http://www.codeforces.com/contest/632/problem/A Description Grandma Laura came to the market to sell some apples. Du
阅读全文
摘要:D. Factory Repairs 题目连接: http://www.codeforces.com/contest/635/problem/D Description A factory produces thimbles in bulk. Typically, it can produce up
阅读全文
摘要:C. XOR Equation 题目连接: http://www.codeforces.com/contest/635/problem/C Description Two positive integers a and b have a sum of s and a bitwise XOR of x
阅读全文
摘要:B. sland Puzzle 题目连接: http://www.codeforces.com/contest/635/problem/B Description A remote island chain contains n islands, labeled 1 through n. Bidir
阅读全文
摘要:A. Orchestra 题目连接: http://www.codeforces.com/contest/635/problem/A Description Paul is at the orchestra. The string section is arranged in an r × c re
阅读全文
摘要:H. Fibonacci ish II 题目连接: http://codeforces.com/contest/633/problem/H Description Yash is finally tired of computing the length of the longest Fibonac
阅读全文
摘要:E. Startup Funding 题目连接: http://codeforces.com/contest/633/problem/E Description An e commerce startup pitches to the investors to get funding. They h
阅读全文
摘要:G. Yash And Trees 题目连接: http://www.codeforces.com/contest/633/problem/G Description Yash loves playing with trees and gets especially excited when the
阅读全文
摘要:D. Fibonacci ish 题目连接: http://www.codeforces.com/contest/633/problem/D Description Yash has recently learnt about the Fibonacci sequence and is very e
阅读全文
摘要:C. Spy Syndrome 2 题目连接: http://www.codeforces.com/contest/633/problem/C Description After observing the results of Spy Syndrome, Yash realised the err
阅读全文
摘要:B. A Trivial Problem 题目连接: http://www.codeforces.com/contest/633/problem/B Description Mr. Santa asks all the great programmers of the world to solve
阅读全文
摘要:A. Ebony and Ivory 题目连接: http://www.codeforces.com/contest/633/problem/A Description Dante is engaged in a fight with "The Savior". Before he can figh
阅读全文
摘要:C. Necklace 题目连接: http://www.codeforces.com/contest/613/problem/C Description Ivan wants to make a necklace as a present to his beloved girl. A neckla
阅读全文