随笔分类 - 2020 BIT冬训-模拟与暴力
摘要:Problem Description For decades, scientists have wondered whether each of the numbers from 0 to 100 could be represented as the sum of three cubes, wh
阅读全文
摘要:Problem Description A remote island chain contains n islands, labeled 1 through n. Bidirectional bridges connect the islands to form a simple cycle —
阅读全文
摘要:Problem Description Alice and Bob play 5-in-a-row game. They have a playing field of size 10 × 10. In turns they put either crosses or noughts, one at
阅读全文
摘要:Problem Description Rock... Paper! After Karen have found the deterministic winning (losing?) strategy for rock-paper-scissors, her brother, Koyomi, c
阅读全文
摘要:Problem Description Little Ruins is a studious boy, recently he learned the four operations!Now he want to use four operations to generate a number, h
阅读全文
摘要:Problem Description Little John is herding his father's cattles. As a lazy boy, he cannot tolerate chasing the cattles all the time to avoid unnecessa
阅读全文
摘要:Problem Description NPY is learning arithmetic progression in his math class. In mathematics, an arithmetic progression (AP) is a sequence of numbers
阅读全文
摘要:UVA的judge好慢……20min还是in judege queue。 这题的首先将字符串分割为以0隔开的子串(千万不要把0放进去啊)。 对于每一个子串,将其分为3个部分。 第一个负数及之前的数的乘积(ltemp),第一个和最后一个负数中间的数的乘积(ctemp),最后一个负数及之后数的乘积(rt
阅读全文
摘要:Problem Description Bob programmed a robot to navigate through a 2d maze. The maze has some obstacles. Empty cells are denoted by the character '.', w
阅读全文
摘要:Problem Description In a modernized warehouse, robots are used to fetch the goods. Careful planning is needed to ensure that the robots reach their de
阅读全文
摘要:Problem Description The "Gold Bar"bank received information from reliable sources that in their last group of N coins exactly one coin is false and di
阅读全文
摘要:Problem Description You are given two strings a and b consisting of lowercase English letters, both of length n. The characters of both strings have i
阅读全文
摘要:Problem Description Ignatius is building an Online Judge, now he has worked out all the problems except the Judge System. The system has to read data
阅读全文

浙公网安备 33010602011771号