摘要:
C. Good Array time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Good Array time limit pe 阅读全文
摘要:
B. Taxi drivers and Lyft time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Taxi drivers 阅读全文
摘要:
There is a company that has N employees(numbered from 1 to N),every employee in the company has a immediate boss (except for the leader of whole compa 阅读全文
摘要:
During the War of Resistance Against Japan, tunnel warfare was carried out extensively in the vast areas of north China Plain. Generally speaking, vil 阅读全文
摘要:
A lot of battleships of evil are arranged in a line before the battle. Our commander decides to use our secret weapon to eliminate the battleships. Ea 阅读全文
摘要:
For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides to organize a game of Ultim 阅读全文
摘要:
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 阅读全文