通向自由的钥匙(key.pas/c/cpp)
Background
After got out of the horrible room, a line of words appeared, saying "Now, you have to
collect enough keys to open your Gate to Freedom!"
"But we've already passed the Gate to Freedom!" I said.
"You have only passed the gate of your body, not your heart!" a strange voice came to
our ears," Everybody has its own Gate to Freedom. It leads him to his new life; make
him forget his past, his sadness, and when you pass your Gate to Freedom, you'll have
a new start."
"How can I do that?"
Background
After got out of the horrible room, a line of words appeared, saying "Now, you have to
collect enough keys to open your Gate to Freedom!"
"But we've already passed the Gate to Freedom!" I said.
"You have only passed the gate of your body, not your heart!" a strange voice came to
our ears," Everybody has its own Gate to Freedom. It leads him to his new life; make
him forget his past, his sadness, and when you pass your Gate to Freedom, you'll have
a new start."
"How can I do that?"
"Believe in yourself, young boy. You will get it."
通向自由的钥匙被放n 个房间里,这 n 个房间由n-1 条走廊连接。但是每个房间里都有
特别的保护魔法,在它的作用下,我无法通过这个房间,也无法取得其中的钥匙。虽然我可
以通过消耗能量来破坏房间里的魔法,但是我的能量是有限的