Friday the 13th on 17bii Solver
|
01-14-2017, 07:07 PM
Post: #4
|
|||
|
|||
RE: Friday the 13th on 17bii Solver
(01-13-2017 07:37 PM)Don Shepherd Wrote: \(\Sigma\)(M:1:12:1:0xL(A:IDIV(14-M:12))xL(Y:YEAR-G(A))xL(MM:M+12xA-2)+IF(MOD(DOM+G(Y)+IDIV(G(Y):4)-IDIV(G(Y):100)+IDIV(G(Y):400)+IDIV(31xG(MM):12):7)=DAY:1:0))-ANS Small suggested edit: For the second reference to variable 'A' in the expression L(MM:M+12xA-2) Change the direct reference of variable 'A' to G(A) L(MM:M+12xG(A)-2) so that the variable 'A' does not appear in the menu. Very neat program! Someday I hope I'll master this programming language. Makes obfuscated C look like child's play Remember kids, "In a democracy, you get the government you deserve." |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Friday the 13th on 17bii Solver - Don Shepherd - 01-13-2017, 07:37 PM
RE: Friday the 13th on 17bii Solver - rprosperi - 01-13-2017, 08:09 PM
RE: Friday the 13th on 17bii Solver - Don Shepherd - 01-13-2017, 08:46 PM
RE: Friday the 13th on 17bii Solver - mfleming - 01-14-2017 07:07 PM
RE: Friday the 13th on 17bii Solver - Don Shepherd - 01-14-2017, 09:12 PM
RE: Friday the 13th on 17bii Solver - striegel - 01-14-2017, 08:20 PM
RE: Friday the 13th on 17bii Solver - striegel - 01-14-2017, 08:21 PM
RE: Friday the 13th on 17bii Solver - Don Shepherd - 01-14-2017, 09:26 PM
|
User(s) browsing this thread: 1 Guest(s)