摘要:
Time Limit: 4 sec / Memory Limit: 512 MiB Score : 700 points Problem Statement Haiku is a short form of Japanese poetry. A Haiku consists of three 阅读全文
摘要:
Time Limit: 2 sec / Memory Limit: 1024 MiB Score : 200 points Problem Statement For a positive integer x, define f(x) as the sum of the digits in 阅读全文
摘要:
Time Limit: 2 sec / Memory Limit: 1024 MiB Score : 100 points Problem Statement You are given a string S consisting of uppercase English letters. 阅读全文
摘要:
Time Limit: 2 sec / Memory Limit: 1024 MiB Score : 600 points Problem Statement You are given positive integers N and K. Find one length-N sequenc 阅读全文
摘要:
Time Limit: 2 sec / Memory Limit: 1024 MiB Score : 500 points Problem Statement There are N piles of stones, and the i-th pile (1≤i≤N) has Ai sto 阅读全文
摘要:
time limit per test 1 second memory limit per test 256 megabytes Let a partition of a multiset B be a collection of multisets s1,s2,…,sk such that 阅读全文
摘要:
time limit per test 1.5 seconds memory limit per test 256 megabytes Given an array c, let f(c) be the number of distinct elements in c. For exampl 阅读全文