摘要:
You are given an integer array of length nn. You have to choose some subsequence of this array of maximum length such that this subsequence forms a in 阅读全文
摘要:
You are given a sequence of integers of length nn and integer number kk. You should print any integer number xx in the range of [1;109][1;109] (i.e. 1 阅读全文
摘要:
Polycarp likes to play with numbers. He takes some integer number xx, writes it down on the board, and then performs with it n−1n−1 operations of the 阅读全文
摘要:
As we know, Rikka is poor at math. Yuta is worrying about this situation, so he gives Rikka some math tasks to practice. There is one of them: Yuta ha 阅读全文
摘要:
Country of Metropolia is holding Olympiad of Metrpolises soon. It mean that all jury members of the olympiad should meet together in Metropolis (the c 阅读全文
摘要:
Petya studies at university. The current academic year finishes with nn special days. Petya needs to pass mm exams in those special days. The special 阅读全文
摘要:
The busses in Berland are equipped with a video surveillance system. The system records information about changes in the number of passengers in a bus 阅读全文
摘要:
You are given a connected undirected graph consisting of nn vertices and mm edges. There are no self-loops or multiple edges in the given graph. You h 阅读全文
摘要:
You are given two strings ss and tt, both consisting of exactly kk lowercase Latin letters, ss is lexicographically less than tt. Let's consider list 阅读全文
摘要:
C. Five Dimensional Points time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Five Dimen 阅读全文