Skip to content

Commit

Permalink
[codejam - 2016-qualification] Add OCaml solution for B.
Browse files Browse the repository at this point in the history
  • Loading branch information
abeaumont committed May 12, 2020
1 parent 54add50 commit 53115f1
Show file tree
Hide file tree
Showing 8 changed files with 435 additions and 0 deletions.
5 changes: 5 additions & 0 deletions codejam/2016-qualification/b-1.ans
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Case #1: 1
Case #2: 1
Case #3: 2
Case #4: 0
Case #5: 3
6 changes: 6 additions & 0 deletions codejam/2016-qualification/b-1.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
5
-
-+
+-
+++
--+-
100 changes: 100 additions & 0 deletions codejam/2016-qualification/b-2.ans
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
Case #1: 1
Case #2: 1
Case #3: 2
Case #4: 0
Case #5: 3
Case #6: 8
Case #7: 3
Case #8: 0
Case #9: 1
Case #10: 1
Case #11: 3
Case #12: 5
Case #13: 6
Case #14: 3
Case #15: 0
Case #16: 3
Case #17: 5
Case #18: 3
Case #19: 6
Case #20: 3
Case #21: 3
Case #22: 2
Case #23: 2
Case #24: 5
Case #25: 4
Case #26: 2
Case #27: 2
Case #28: 7
Case #29: 5
Case #30: 2
Case #31: 3
Case #32: 5
Case #33: 5
Case #34: 3
Case #35: 7
Case #36: 9
Case #37: 5
Case #38: 3
Case #39: 1
Case #40: 2
Case #41: 1
Case #42: 3
Case #43: 7
Case #44: 0
Case #45: 1
Case #46: 6
Case #47: 3
Case #48: 4
Case #49: 4
Case #50: 5
Case #51: 6
Case #52: 5
Case #53: 2
Case #54: 4
Case #55: 3
Case #56: 7
Case #57: 0
Case #58: 4
Case #59: 2
Case #60: 6
Case #61: 2
Case #62: 1
Case #63: 3
Case #64: 4
Case #65: 5
Case #66: 1
Case #67: 2
Case #68: 2
Case #69: 3
Case #70: 4
Case #71: 6
Case #72: 4
Case #73: 2
Case #74: 2
Case #75: 10
Case #76: 3
Case #77: 4
Case #78: 3
Case #79: 2
Case #80: 4
Case #81: 3
Case #82: 2
Case #83: 6
Case #84: 1
Case #85: 2
Case #86: 5
Case #87: 6
Case #88: 6
Case #89: 3
Case #90: 5
Case #91: 3
Case #92: 7
Case #93: 6
Case #94: 4
Case #95: 6
Case #96: 1
Case #97: 6
Case #98: 4
Case #99: 4
Case #100: 5
101 changes: 101 additions & 0 deletions codejam/2016-qualification/b-2.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
100
-
-+
+-
+++
--+-
+-+--+-+-+
-+-++
+++++
----
--
-++-++++++
-+--+-
+--+-+---+
-+--
++
----+++--+
-++---+--+
-++-
+--+++-++-
----+++++-
-++++++++-
+-+
+++---
----++--+-
+-+-
+++------+
++-
-+-+-++-++
---+--+---
+--------+
-+-----++
-+--+++---
-++++--+--
--++-----+
-+---+--+-
-+-+-+-+-+
-+-++---++
---+--+
-++
++-+
-----
---+-
-+-+--++--
+
--++
+---+--+-+
-+-
+--+--++++
++-+++-
--+++-+++-
+-+---+--+
---++--+--
+--
+++++-++-
--++--
-+++-+--+-
++++
+++-+-----
++++---
++---+-++-
++++++---+
-+++
-+++++--++
+--++++++-
-++++-++--
---+
+--+
++--++
-+++-+
+--+---+++
+-+--+---+
+-++---+++
+++-
+-++
+-+-+-+-+-
------+--+
+-+++-+
-+-+
++++-
++++-++---
-++-++
++--
++-++-+--+
--+
+---
----+--++-
+++-+-++-+
+-+++-++-+
-++++---++
--+--+-
-+++--++++
--+--++-+-
+++-+++-+-
++---++--+
+--+--+++-
---
+--+++--+-
++-+-++
+++-+-+
-++-+--+++
100 changes: 100 additions & 0 deletions codejam/2016-qualification/b-3.ans
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
Case #1: 1
Case #2: 1
Case #3: 2
Case #4: 0
Case #5: 3
Case #6: 9
Case #7: 52
Case #8: 3
Case #9: 53
Case #10: 10
Case #11: 2
Case #12: 19
Case #13: 3
Case #14: 48
Case #15: 2
Case #16: 23
Case #17: 50
Case #18: 8
Case #19: 3
Case #20: 40
Case #21: 54
Case #22: 47
Case #23: 20
Case #24: 0
Case #25: 51
Case #26: 44
Case #27: 60
Case #28: 47
Case #29: 0
Case #30: 43
Case #31: 50
Case #32: 49
Case #33: 49
Case #34: 2
Case #35: 1
Case #36: 38
Case #37: 59
Case #38: 49
Case #39: 40
Case #40: 45
Case #41: 54
Case #42: 6
Case #43: 10
Case #44: 2
Case #45: 37
Case #46: 53
Case #47: 19
Case #48: 44
Case #49: 49
Case #50: 52
Case #51: 44
Case #52: 1
Case #53: 54
Case #54: 24
Case #55: 45
Case #56: 34
Case #57: 51
Case #58: 41
Case #59: 44
Case #60: 42
Case #61: 51
Case #62: 48
Case #63: 0
Case #64: 22
Case #65: 54
Case #66: 99
Case #67: 48
Case #68: 39
Case #69: 1
Case #70: 45
Case #71: 44
Case #72: 57
Case #73: 42
Case #74: 2
Case #75: 55
Case #76: 53
Case #77: 50
Case #78: 48
Case #79: 45
Case #80: 45
Case #81: 0
Case #82: 1
Case #83: 49
Case #84: 1
Case #85: 55
Case #86: 43
Case #87: 54
Case #88: 54
Case #89: 1
Case #90: 52
Case #91: 100
Case #92: 30
Case #93: 40
Case #94: 54
Case #95: 50
Case #96: 51
Case #97: 49
Case #98: 50
Case #99: 34
Case #100: 39
Loading

0 comments on commit 53115f1

Please sign in to comment.