Created
October 14, 2016 05:13
-
-
Save tanaikech/b980f039a7ab8fe61eeec45585b05e5e to your computer and use it in GitHub Desktop.
ピラミッド方式の他言語への適応性 ref: http://qiita.com/tanaike/items/64ff01fad8d5958a56d5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
N_{l} = \sum_{k=1}^{\omega - 1} \frac{\theta}{\phi^{k}} \tag{1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\varepsilon = 100 \times \frac{1}{(\phi - 1)} \tag{2} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Declare a string variable arr, sum | |
Declare an integer variable loopcounter | |
Set arr to size n | |
for loopcounter = 0 to (size of arr) - 1 | |
sum = sum + arr[loopcounter] | |
loopcounter = loopcounter + 1 | |
endfor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment