【頭脳試し】Imagine Cupアルゴリズム【ネタバレ】
■ このスレッドは過去ログ倉庫に格納されています
0077デフォルトの名無しさん
NGNGA daughter, a Mom, and a grandmother were asked about
their ages. Mom answered "our ages are prime numbers
in which i) the average of ANY TWO of the numbers is
a prime and ii) the average of all three of the numbers
is a prime." What were their ages?
11,29,61
11,47,71
7,29,71
13,37,79
none of the above
-------------
娘、母、祖母がいて、年齢を聞いてみた。母の答えは、
「私たちの年齢は素数よ。しかも、どの2人の年齢の平均を
とっても素数になるし、3人の年齢の平均も素数だわ」
彼女らの年齢は?
■ このスレッドは過去ログ倉庫に格納されています