摘要:
Eight-puzzle, which is also called "Nine grids", comes from an old game. In this game, you are given a 3 by 3 board and 8 tiles. The tiles are numbere 阅读全文
摘要:
You are given n segments on a line. There are no ends of some segments that coincide. For each segment find the number of segments it contains. Input 阅读全文
摘要:
Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones. Your task is counting the segme 阅读全文
摘要:
Mayor's posters Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 71507 Accepted: 20632 Description The citizens of Bytetown, AB, could not s 阅读全文
摘要:
Lesha plays the recently published new version of the legendary game hacknet. In this version character skill mechanism was introduced. Now, each play 阅读全文