摘要:
D. Make a Permutation! Ivan has an array consisting of n elements. Each of the elements is an integer from 1 to n. Recently Ivan learned about permuta 阅读全文
摘要:
B. Train Seats Reservation You are given a list of train stations, say from the station 1 to the station 100. The passengers can order several tickets 阅读全文
摘要:
C. Mahmoud and Ehab and the xor Mahmoud and Ehab are on the third stage of their adventures now. As you know, Dr. Evil likes sets. This time he won't 阅读全文
摘要:
Mahmoud and Ehab and the bipartiteness Mahmoud and Ehab continue their adventures! As everybody in the evil land knows, Dr. Evil likes bipartite graph 阅读全文
摘要:
Bob has a not even coin, every time he tosses the coin, the probability that the coin's front face up is qp(qp≤12)\frac{q}{p}(\frac{q}{p} \le \frac{1} 阅读全文
摘要:
D - joisino's travel Problem Statement There are N towns in the State of Atcoder, connected by M bidirectional roads. The i-th road connects Town Ai a 阅读全文
摘要:
G. Bathroom terminal Smith wakes up at the side of a dirty, disused bathroom, his ankle chained to pipes. Next to him is tape-player with a hand-writt 阅读全文
摘要:
A. Arpa and a research in Mexican wave Arpa is researching the Mexican wave. There are n spectators in the stadium, labeled from 1 to n. They start th 阅读全文
摘要:
C - 4-adjacent Time limit : 2sec / Memory limit : 256MB Score : 400 points Problem Statement We have a sequence of length N, a=(a1,a2,…,aN). Each ai i 阅读全文