【頭脳試し】Imagine Cupアルゴリズム【ネタバレ】
■ このスレッドは過去ログ倉庫に格納されています
0049デフォルトの名無しさん
NGNGIn a certain factory, there are 100 workers who have 3 commuting
options: their own vehicle, company bus, and public transport.
50 workers use the company bus, 70 use their own vehicle, and
60 use the public transport. 10 workers use only the company bus
or their own vehicle and avoid the public transport. 5 workers
do not have their own vehicle and hence use the other two only,
while 25 workers do not live on the route of the company bus and
hence use either the public transport or their own vehicle.
20 workers use all forms of transportation. How many workers
commute by own vehicle?
12
3
4
11
15
------------
キゴ工場では、100人が3つの方法で通っている。自家用車、会社のバス、
公共の乗り物の3種類だ。50人が会社のバスを使用し、70人が自家用車を
使い、60人が公共の乗り物で通っている。10人は会社のバスか自家用車
しか使わず、公共の乗り物には乗らない。5人は自家用車を持っていなくて
その他の2種類の方法を使用する。25人は会社のバスルートの近くに住んで
いないため公共の乗り物か自家用車を使っている。20人がすべての方法を
使用している。さて、自家用車だけで通っている人は何人?
■ このスレッドは過去ログ倉庫に格納されています