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
// y - 1000s | |
// x - 1s | |
// [900 : 999] - working memory | |
// 900 - x direction | |
// 901 - y direction | |
// 902 - y * 1000 | |
// 903 - x + y * 1000 | |
// 910 - paint color | |
// 911 - turn command (0 turn left) (1 turn right) | |
// 920 - comparison storage |
We can't make this file beautiful and searchable because it's too large.
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
1,0 | |
2,0 | |
3,0 | |
4,0 | |
5,0 | |
6,0 | |
7,0 | |
8,0 | |
9,0 | |
10,0 |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace AdventCSharp | |
{ | |
public class CircularLinkListNode | |
{ |
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
namespace AdventOfCode | |
module Day6 = | |
open System | |
open System.IO | |
open System.Text | |
open System.Text.RegularExpressions | |
open Utils | |
open System.Collections.Generic | |
open System.Linq |
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
namespace AdventOfCode | |
module Day5 = | |
open System | |
open System.IO | |
open System.Text | |
open System.Text.RegularExpressions | |
open Utils | |
open System.Collections.Generic | |
open System.Linq |
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
module Day4 = | |
open Day1 | |
open Day2 | |
open Day3 | |
open System.IO | |
open System.Text | |
open System.Text.RegularExpressions | |
open Utils | |
open System.Collections.Generic | |
open System.Linq |
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
ALTER PROCEDURE VoidCheckProcedure | |
@checkID int | |
AS | |
BEGIN | |
BEGIN TRANSACTION; | |
BEGIN TRY | |
/* update status of Orig Check to V */ | |
UPDATE [Check] SET [Status] = 'V' WHERE Check_ID = @checkID; |
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
/* update Receipts on Check to O, X, or V */ | |
UPDATE r1 | |
SET [Status] = | |
CASE | |
WHEN MaxSeq.MaxSeqNo % 2 = 1 THEN -- ends in a void | |
CASE r1.SequenceNo | |
WHEN MaxSeq.MaxSeqNo THEN 'V' | |
WHEN MaxSeq.MaxSeqNo - 1 THEN 'V' | |
ELSE 'X' | |
END |
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
1429580131 | NULL | NULL | 2 | NONCLUSTERED INDEX | 0 | 99.446704637917 | NULL | 18435 | |
---|---|---|---|---|---|---|---|---|---|
85575343 | NULL | NULL | 2 | NONCLUSTERED INDEX | 0 | 99.2857142857143 | NULL | 140 | |
1429580131 | NULL | NULL | 7 | NONCLUSTERED INDEX | 0 | 99.2558043828664 | NULL | 29159 | |
315148168 | NULL | NULL | 2 | NONCLUSTERED INDEX | 0 | 99.235547061634 | NULL | 2093 | |
2130106629 | NULL | NULL | 2 | NONCLUSTERED INDEX | 0 | 99.2097701149425 | NULL | 1392 | |
1429580131 | NULL | NULL | 4 | NONCLUSTERED INDEX | 0 | 99.1877830594752 | NULL | 26717 | |
1438628168 | NULL | NULL | 2 | NONCLUSTERED INDEX | 0 | 99.1785965735743 | NULL | 4261 | |
898102240 | NULL | NULL | 2 | NONCLUSTERED INDEX | 0 | 99.0733876945886 | NULL | 2698 | |
1374627940 | NULL | NULL | 4 | NONCLUSTERED INDEX | 0 | 99.009900990099 | NULL | 101 | |
1374627940 | NULL | NULL | 5 | NONCLUSTERED INDEX | 0 | 99.009900990099 | NULL | 101 |
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
85575343 | NULL | NULL | 2 | NONCLUSTERED INDEX | 0 | 99.2857142857143 | NULL | 140 | |
---|---|---|---|---|---|---|---|---|---|
1429580131 | NULL | NULL | 7 | NONCLUSTERED INDEX | 0 | 99.2558043828664 | NULL | 29159 | |
315148168 | NULL | NULL | 2 | NONCLUSTERED INDEX | 0 | 99.235547061634 | NULL | 2093 | |
2130106629 | NULL | NULL | 2 | NONCLUSTERED INDEX | 0 | 99.2097701149425 | NULL | 1392 | |
1429580131 | NULL | NULL | 4 | NONCLUSTERED INDEX | 0 | 99.1877830594752 | NULL | 26717 | |
1438628168 | NULL | NULL | 2 | NONCLUSTERED INDEX | 0 | 99.1785965735743 | NULL | 4261 | |
898102240 | NULL | NULL | 2 | NONCLUSTERED INDEX | 0 | 99.0733876945886 | NULL | 2698 | |
1374627940 | NULL | NULL | 4 | NONCLUSTERED INDEX | 0 | 99.009900990099 | NULL | 101 | |
1374627940 | NULL | NULL | 5 | NONCLUSTERED INDEX | 0 | 99.009900990099 | NULL | 101 |
NewerOlder