#44534: 題目的中文翻譯不太精確


sam851015@gmail.com (多挖鼻孔有益身心健康)

學校 : 臺中市立惠文高級中學
編號 : 277705
來源 : [123.192.228.253]
最後登入時間 :
2025-09-21 22:24:46

Print the minimum number of tries that the thief must perform in order to know what key opens each door with an end of line.

 

這段話應該是「輸出小偷為了知道每把鑰匙分別能開哪扇門,需要嘗試的最少次數。」

而不是要「至少需要失敗幾次」

 

只看失敗的話,那都一率是 0,最佳情況下,一次就成功,完全不失敗,每次嘗試都成功匹配