竹園論壇

標題: Codeforces #242 (Div. 2) A [打印本頁]

作者: domen111    時間: 2014-4-25 20:52
標題: Codeforces #242 (Div. 2) A
本帖最後由 domen111 於 2014-4-26 08:42 編輯

http://codeforces.com/problemset/problem/424/A
一題水題,問題在於語言,有沒有誰英文好的幫忙看一下
假設一筆測資:
6
xxxxxX以我所理解的題意來說答案應該是:
1
xxxXXX
但正確答案是:
2
xxxXXX黃色標記的那句話寫「some」,所以一分鐘應該可以一次讓多隻老鼠站起或坐下;但是以正確答案來說,每分鐘只能讓一隻站起或坐下;這邊這句話,some+either or的用法,翻成中文的意思到底是什麼?我原來理解的意思是錯的嗎?




A. Squats

Pasha has many hamsters and he makes them work out. Today, n hamsters (n is even) came to work out. The hamsters lined up and each hamster either sat down or stood up.
For another exercise, Pasha needs exactly hamsters to stand up and the other hamsters to sit down. In one minute, Pasha can make some hamster ether sit down or stand up. How many minutes will he need to get what he wants if he acts optimally well?





作者: Sylveon    時間: 2014-4-25 22:19
一分鐘一隻 some hamster 指裡應該指的是任意一隻,如果是多隻應該要複數
作者: domen111    時間: 2014-4-25 22:26
謝謝
應該是這樣沒錯
都沒再注意英文的單複數,平白損失了一個水題的分數
作者: Sylveon    時間: 2014-4-25 22:37
其實你可以把屬性框改成解決,我剛剛加的




歡迎光臨 竹園論壇 (http://forum.tfcis.org/) Powered by Discuz! X3.2