不発弾。前から気になってたんだけど米軍の爆弾てポンド単位だから
1トンとか500Kgのように「切りのいい」数字にはならないような気が
大阪市市民の方へ 不発弾の処理について
米国製2,000ポンド普通爆弾(1トン爆弾) 1発(長さ1.8メートル、直径0.6メートル)
……あれ?
「正軌道」ってどこからでてきたんだろう?
テスラのバッテリーは市場破壊の正軌道上にある : ギズモード・ジャパン
Tesla Battery Economics: On the Path to Disruption
やっぱりそうかw>「ディレクターズカット版」
[パトレイバー]押井監督「プロデューサーともめまして……」 ディレクターズカット版公開へ | マイナビニュース
なんか妙に盛り上がってるので
Five programming problems every Software Engineer should be able to solve in less than 1 hour : programming
"Real programmers can do these problems easily"; author posts invalid solution to #4 : programming
Five programming problems every Software Engineer should be able to solve in less than 1 hour
The 5 problems
(The following problems are ridiculously simple, but you'd be surprise to discover how many people struggle
with them. To the point of not getting anything done at all. Seriously.)
で、問題。
訳つけないでも大丈夫だよね?w
Problem 1
Write three functions that compute the sum of the numbers in a given list using a for-loop, a while-loop, and recursion.
Problem 2
Write a function that combines two lists by alternatingly taking elements.
For example: given the two lists [a, b, c] and [1, 2, 3], the function should return [a, 1, b, 2, c, 3].
Problem 3
Write a function that computes the list of the first 100 Fibonacci numbers. By definition, the first two numbers
in the Fibonacci sequence are 0 and 1, and each subsequent number is the sum of the previous two.
As an example, here are the first 10 Fibonnaci numbers: 0, 1, 1, 2, 3, 5, 8, 13, 21, and 34.
Problem 4
Write a function that given a list of non negative integers, arranges them such that they form the largest
possible number. For example, given [50, 2, 1, 9], the largest formed number is 95021.
Update: Apparently this problem got a lot of people talking (although not as much as Problem 5 below.)
You can click here to read my solution.
Problem 5
Write a program that outputs all possibilities to put + or - or nothing between the numbers 1, 2, ..., 9
(in this order) such that the result is always 100. For example: 1 + 2 + 34 – 5 + 67 – 8 + 9 = 100.
Update: (Here is one solution to this problem in case you are curious.)