# Judge 1-1 - bomb ## 故事背景 阿萬, 時空旅行者,年齡不詳,在一次跟隨天天的旅行當中,意外來到二戰時期的地雷區,阿萬他一步也不敢動,怕失去了他的雙腳,但這個時候他想起小時候最愛玩的電腦小遊戲 - 踩地雷 ## 輸入說明 - 輸入 w 地雷區的寬度 - 輸入 h 地雷區的長度 - 輸入 n 地雷區裡面的地雷數 ## 輸出說明 產生一個 w*h 的地圖,並隨機置放 n 個地雷 *代表地雷 數字代表八個方向的地雷數總和 範例: 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up