Note: This article is available in Chinese only. 本文暂无英文版本。
View original
hdu 1195 Open the Lock(bfs)
Related
codeforces #322 div 2 B. Luxurious Houses (思路)
B. Luxurious Houses
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
The capital of Berland has n multifloor buildings. The architect who built up the capital was very creative, so all the houses were built in one row.