mu chance or much chance ?

日々の戯れ言

2017-05-01から1ヶ月間の記事一覧

Project Euler 19

問題 Problem 19:Counting Sundays You are given the following information, but you may prefer to do some research for yourself.1 Jan 1900 was a Monday. Thirty days has September, April, June and November. All the rest have thirty-one, Savi…

Project Euler 18

問題 Problem 18:Maximum path sum I By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23.3 7 4 2 4 6 8 5 9 3That is, 3 + 7 + 4 + 9 = 23.Find the maximum to…

Project Euler 17

問題 Problem 17:Number letter counts If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total.If all the numbers from 1 to 1000 (one thousand) inclusive were …

Project Euler 16

問題 Problem 16:Power digit sum 2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.What is the sum of the digits of the number 2^1000? 解答例 strNum = str(2 ** 1000) sum = 0 for i in strNum: sum += int(i) print(sum)

ゆずイロハ

ベストCDが出ていることを知ったので,レンタルショップで借りました.YUZU 20th Anniversary ALL TIME BEST ALBUM 「ゆずイロハ 1997-2017」(通常仕様)アーティスト: ゆず出版社/メーカー: SENHA&Co.発売日: 2017/04/26メディア: CDこの商品を含むブログを…

MATLAB

2万弱で購入できるのなら,購入しても良いかなと思いました.購入しても損では無いと考えています.

夜更かし

二日連続夜更かしして,体調を崩しました.もう無理できない年齢だと痛感しました.

定食屋

仕事の合間の会話で,前職でお世話になった定食屋に行きたくなりました.食欲には勝てない・・・.

LEVEL9全譜面AAA+ FC達成

rb

reflec beat plus LEVEL9全譜面AAA+ & FCを達成しました.次はLEVEL10全譜面狙います.

ANN復習

ニューラルネットワークの復習で購入しました.ニューラルネットワーク自作入門作者: Tariq Rashid出版社/メーカー: マイナビ出版発売日: 2017/04/28メディア: Kindle版この商品を含むブログを見る分かりやすいので,簡単に理解できます.

自動車税

古い車を使用しているので,自動車税が値上げしていた・・・.地味に痛い.

Project Euler 15

問題 Problem 15:Lattice paths Starting in the top left corner of a 2×2 grid, and only being able to move to the right and down, there are exactly 6 routes to the bottom right corner.How many such routes are there through a 20×20 grid? 解…

Project Euler 14

問題 Problem 14:Longest Collatz sequence The following iterative sequence is defined for the set of positive integers:n → n/2 (n is even) n → 3n + 1 (n is odd)Using the rule above and starting with 13, we generate the following sequence:1…

Project Euler 13

問題 Problem 13:Large sum Work out the first ten digits of the sum of the following one-hundred 50-digit numbers.37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 74324986199524741059474…

Project Euler 12

問題 Problem 12:Highly divisible triangular number The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be:1, 3, 6, 10, …

Project Euler 11

問題 Problem 11:Largest product in a grid In the 20×20 grid below, four numbers along a diagonal line have been marked in red.08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 5…

ハイスピードオプション

rb

ハイスピ設定のおかげで,reflec beat plus LEVEL9全譜面AAA+ & FCを達成できそうです.もう少し頑張ります.

Project Euler 10

問題 Problem 10:Summation of primes The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.Find the sum of all the primes below two million. 解答例 def sieveEratosthenes(num): isPrime = [True] * (num + 1) isPrime[0] = False isPrime[1] = Fal…

Project Euler 9

問題 Problem 9:Special Pythagorean triplet A Pythagorean triplet is a set of three natural numbers, a a^2 + b^2 = c^2 For example, 3^2 + 4^2 = 9 + 16 = 25 = 5^2.There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find…

Project Euler 8

問題 Problem 8:Largest product in a series The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832.73167176531330624919225119674426574742355349194934 96983520312774506326239578318016984801…

Project Euler 7

問題 Problem 7:10001st prime By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.What is the 10001st prime number? 解答例 def primeNum(num): prime = [2] i = 3 while len(prime) < num: for n i…

Project Euler 6

問題 Problem 6:Sum square difference The sum of the squares of the first ten natural numbers is,1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ten natural numbers is,(1 + 2 + ... + 10)^2 = 55^2 = 3025 Hence the difference…

大学数学

日頃から使っていないと忘れてしまう.高校数学レベルなら,その場でネットで検索すればどうにかなるのですが.大学数学(線形代数・微分積分・確率統計)レベルになると,厳しいです.おかげで専門書の中身を理解するのに時間がかかるので,どうにかしなく…

エディタ

簡単なプログラムを書くのに,Atomを使うかVSCodeを使うかを現在模索しています.魅力的なエディタが多いですね.

Jupyter

Jupyterでコーディングを始めてみました.少しずつ操作に慣れたいと思います.matplotlibなどの描画がその場で確認できるのが良いですね.

苦手

rb

WHITE HARD(スイッチロングオブジェクト)譜面が苦手です.CLASS2以上が厳しいです.ようやくCLASS3が取れました.2曲目のKnell(WHITE HARD)がキツかったです・・・.

忍々七鍵伝

現在GuNGNiRまで解禁しています.GW中に終えたいですね.時間が無いので.

技術英語

この連休中で復習したかったので,以下の本を購入しました.ポイントで学ぶ科学英語論文の書き方 改訂版作者: 小野義正出版社/メーカー: 丸善出版発売日: 2016/07/27メディア: 単行本この商品を含むブログを見る最後にネイティブにチェックする必要がありま…

タイヤ交換

自分で行うよりも,プロがやった方が色々と安全なので,ここ最近はずっとお金を支払ってお店でやって貰っています.混んでいたのが少し誤算でした.

放置

私に関係無かった昨年放置した仕事を,今年,私に担当させるのは正直理不尽だと思う・・・.