mirror of
https://github.com/seigler/rockstar-playground
synced 2025-07-27 01:36:10 +00:00
Day 1
This commit is contained in:
parent
0f5c35af68
commit
20b8d44de1
5 changed files with 279 additions and 11 deletions
|
@ -1,6 +0,0 @@
|
||||||
1721
|
|
||||||
979
|
|
||||||
366
|
|
||||||
299
|
|
||||||
675
|
|
||||||
1456
|
|
200
inputs/2020-01.txt
Normal file
200
inputs/2020-01.txt
Normal file
|
@ -0,0 +1,200 @@
|
||||||
|
1865
|
||||||
|
1179
|
||||||
|
1328
|
||||||
|
1390
|
||||||
|
322
|
||||||
|
1999
|
||||||
|
1713
|
||||||
|
1808
|
||||||
|
1380
|
||||||
|
1727
|
||||||
|
1702
|
||||||
|
1304
|
||||||
|
1481
|
||||||
|
1334
|
||||||
|
1728
|
||||||
|
1953
|
||||||
|
1413
|
||||||
|
1753
|
||||||
|
1723
|
||||||
|
1379
|
||||||
|
1532
|
||||||
|
1918
|
||||||
|
1490
|
||||||
|
71
|
||||||
|
1388
|
||||||
|
1519
|
||||||
|
807
|
||||||
|
1427
|
||||||
|
1729
|
||||||
|
1952
|
||||||
|
970
|
||||||
|
1405
|
||||||
|
1500
|
||||||
|
1782
|
||||||
|
1899
|
||||||
|
1501
|
||||||
|
1720
|
||||||
|
1832
|
||||||
|
1706
|
||||||
|
1658
|
||||||
|
1333
|
||||||
|
486
|
||||||
|
1670
|
||||||
|
1674
|
||||||
|
1290
|
||||||
|
1893
|
||||||
|
1382
|
||||||
|
1761
|
||||||
|
1945
|
||||||
|
1607
|
||||||
|
1319
|
||||||
|
1508
|
||||||
|
1464
|
||||||
|
1733
|
||||||
|
1917
|
||||||
|
1483
|
||||||
|
1620
|
||||||
|
1677
|
||||||
|
1835
|
||||||
|
1810
|
||||||
|
1385
|
||||||
|
1840
|
||||||
|
1705
|
||||||
|
1994
|
||||||
|
1695
|
||||||
|
1599
|
||||||
|
1681
|
||||||
|
1566
|
||||||
|
1153
|
||||||
|
1672
|
||||||
|
1373
|
||||||
|
1679
|
||||||
|
1714
|
||||||
|
1283
|
||||||
|
1950
|
||||||
|
1197
|
||||||
|
1696
|
||||||
|
1936
|
||||||
|
1218
|
||||||
|
1910
|
||||||
|
1786
|
||||||
|
958
|
||||||
|
1565
|
||||||
|
1583
|
||||||
|
1914
|
||||||
|
1853
|
||||||
|
1682
|
||||||
|
1267
|
||||||
|
1543
|
||||||
|
1322
|
||||||
|
1965
|
||||||
|
1406
|
||||||
|
860
|
||||||
|
1754
|
||||||
|
1867
|
||||||
|
1393
|
||||||
|
1404
|
||||||
|
1191
|
||||||
|
1861
|
||||||
|
2007
|
||||||
|
1613
|
||||||
|
1938
|
||||||
|
1340
|
||||||
|
1227
|
||||||
|
1628
|
||||||
|
1826
|
||||||
|
1638
|
||||||
|
1970
|
||||||
|
1993
|
||||||
|
1748
|
||||||
|
496
|
||||||
|
1661
|
||||||
|
1736
|
||||||
|
1593
|
||||||
|
1298
|
||||||
|
1882
|
||||||
|
1763
|
||||||
|
1616
|
||||||
|
1848
|
||||||
|
92
|
||||||
|
1338
|
||||||
|
1707
|
||||||
|
1587
|
||||||
|
1996
|
||||||
|
1708
|
||||||
|
700
|
||||||
|
1460
|
||||||
|
1673
|
||||||
|
1450
|
||||||
|
1815
|
||||||
|
1537
|
||||||
|
1825
|
||||||
|
1683
|
||||||
|
1743
|
||||||
|
1949
|
||||||
|
1933
|
||||||
|
1289
|
||||||
|
1905
|
||||||
|
1307
|
||||||
|
1845
|
||||||
|
1855
|
||||||
|
1955
|
||||||
|
1554
|
||||||
|
1570
|
||||||
|
1931
|
||||||
|
1780
|
||||||
|
1929
|
||||||
|
1980
|
||||||
|
1978
|
||||||
|
1998
|
||||||
|
1371
|
||||||
|
1981
|
||||||
|
1817
|
||||||
|
1722
|
||||||
|
1545
|
||||||
|
1561
|
||||||
|
1352
|
||||||
|
1935
|
||||||
|
1553
|
||||||
|
1796
|
||||||
|
1847
|
||||||
|
1640
|
||||||
|
1414
|
||||||
|
1198
|
||||||
|
1669
|
||||||
|
1909
|
||||||
|
1879
|
||||||
|
1744
|
||||||
|
1783
|
||||||
|
1367
|
||||||
|
1632
|
||||||
|
1990
|
||||||
|
1937
|
||||||
|
1919
|
||||||
|
1431
|
||||||
|
2002
|
||||||
|
1603
|
||||||
|
1948
|
||||||
|
1317
|
||||||
|
1282
|
||||||
|
1349
|
||||||
|
1839
|
||||||
|
1575
|
||||||
|
1730
|
||||||
|
1849
|
||||||
|
1959
|
||||||
|
1971
|
||||||
|
2009
|
||||||
|
1641
|
||||||
|
1402
|
||||||
|
1924
|
||||||
|
1757
|
||||||
|
1605
|
||||||
|
1693
|
||||||
|
1762
|
||||||
|
283
|
||||||
|
1525
|
||||||
|
1964
|
||||||
|
1715
|
||||||
|
1602
|
|
@ -1,5 +0,0 @@
|
||||||
Listen to Input
|
|
||||||
|
|
||||||
Until Input is wrong
|
|
||||||
Say Input
|
|
||||||
Listen to Input
|
|
36
lyrics/2020-01-minimal.rock
Normal file
36
lyrics/2020-01-minimal.rock
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
Rock Input
|
||||||
|
Listen to Line
|
||||||
|
Until Line is gone
|
||||||
|
Cast Line
|
||||||
|
Rock Input with Line
|
||||||
|
Listen to Line
|
||||||
|
(end until)
|
||||||
|
Test takes Start and Sum and Count
|
||||||
|
Let I be Start
|
||||||
|
Until I is Input minus 1
|
||||||
|
Let Item be Input at I
|
||||||
|
If Item is mysterious
|
||||||
|
Give back nothing
|
||||||
|
(end if)
|
||||||
|
If Count is 1
|
||||||
|
If Item is Sum
|
||||||
|
Give back Item
|
||||||
|
(end if)
|
||||||
|
(end if)
|
||||||
|
If Count is greater than 1 and Item is less than Sum
|
||||||
|
Let St be I plus 1
|
||||||
|
Let Su be Sum minus Item
|
||||||
|
Let Co be Count minus 1
|
||||||
|
Let Result be Test taking St, Su, Co
|
||||||
|
If Result ain't nothing
|
||||||
|
Give back Item times Result
|
||||||
|
(end if)
|
||||||
|
(end if)
|
||||||
|
Build I up
|
||||||
|
Continue
|
||||||
|
(end until)
|
||||||
|
Give back nothing
|
||||||
|
(end function)
|
||||||
|
|
||||||
|
Say Test taking 0, 2020, 2
|
||||||
|
Say Test taking 0, 2020, 3
|
43
lyrics/2020-01.rock
Normal file
43
lyrics/2020-01.rock
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
The path is complicated
|
||||||
|
The obstacles are unexpected
|
||||||
|
|
||||||
|
Pain is unavoidable-
|
||||||
|
The power is in overcoming it completely
|
||||||
|
Peace is therapeutic
|
||||||
|
Let life be peace with pain
|
||||||
|
|
||||||
|
Rock the journey
|
||||||
|
Listen to your heart
|
||||||
|
Until your heart is empty
|
||||||
|
Cast your heart (ahead)
|
||||||
|
Rock the journey with your heart
|
||||||
|
Listen to your heart
|
||||||
|
|
||||||
|
Your journey takes a plan and your hope and time
|
||||||
|
Let your focus be a plan
|
||||||
|
Until your focus is the journey without the path
|
||||||
|
Let the truth be the journey at your focus
|
||||||
|
If the truth is mysterious
|
||||||
|
Give back nothing
|
||||||
|
|
||||||
|
If time is the path
|
||||||
|
If your hope is the truth
|
||||||
|
Give back the truth
|
||||||
|
|
||||||
|
|
||||||
|
If time is greater than the path and the truth is less than your hope
|
||||||
|
Let the future be your focus with the path
|
||||||
|
Let the past be your hope without the truth
|
||||||
|
Let the present be time without the path
|
||||||
|
Let everything be your journey taking the future, the past, the present
|
||||||
|
If everything ain't nothing
|
||||||
|
Give back the truth of everything
|
||||||
|
|
||||||
|
|
||||||
|
Build your focus up
|
||||||
|
Continue
|
||||||
|
|
||||||
|
Give back nothing
|
||||||
|
|
||||||
|
Say your journey taking the obstacles, the power, pain
|
||||||
|
Shout your journey taking the obstacles, the power, life
|
Loading…
Add table
Add a link
Reference in a new issue