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
### Keybase proof | |
I hereby claim: | |
* I am k0mach1 on github. | |
* I am k0mach1 (https://keybase.io/k0mach1) on keybase. | |
* I have a public key ASB1xXXoKi_GWh2WtITxd2M755wy740Ch7Ugfryh1csRzQo | |
To claim this, I am signing this object: |
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
import random | |
## CONST | |
T = 60 | |
DT = 0.01 | |
LAMBDA = 2 | |
MU = 1 | |
N_MAX = 20 | |
## CLASS |
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
----------------------------------------------------------------------------------------------追加箇所↓ | |
def int_valid?(string) | |
Integer(string) | |
return true | |
rescue ArgumentError | |
return false | |
end | |
---------------------------------------------------------------------------------------------- | |
class Score |