摘要:
Money out of Thin Air Time limit: 1.0 secondMemory limit: 64 MB Each employee of the company Oceanic Airlines, except for the director, has exactly on 阅读全文
摘要:
Line Painting Time limit: 2.0 secondMemory limit: 64 MB The segment of numerical axis from 0 to 109 is painted into white color. After that some parts 阅读全文
摘要:
Ambitious Experiment Time limit: 3.0 secondMemory limit: 128 MB During several decades, scientists from planet Nibiru are working to create an engine 阅读全文
摘要:
Zhenya moves from parents Time limit: 1.0 secondMemory limit: 64 MB Zhenya moved from his parents’ home to study in other city. He didn’t take any cas 阅读全文
摘要:
Directed Roads time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Directed Roads time limit 阅读全文
摘要:
Coloring Trees time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Coloring Trees time limit 阅读全文
摘要:
高橋君とホテル / Tak and Hotels Time limit : 3sec / Stack limit : 256MB / Memory limit : 256MB Score : 700 points Problem Statement N hotels are located on a 阅读全文
摘要:
高橋君とカード / Tak and Cards Time limit : 2sec / Stack limit : 256MB / Memory limit : 256MB Score : 300 points Problem Statement Tak has N cards. On the i- 阅读全文
摘要:
Tree 2 Time limit: 1.0 secondMemory limit: 64 MB Consider a tree consisting of n vertices. A distance between two vertices is the minimal number of ed 阅读全文
摘要:
K-inversions Time limit: 1.0 secondMemory limit: 64 MB Consider a permutation a1, a2, …, an (all ai are different integers in range from 1 to n). Let 阅读全文