Finally remove the second intcode implementation.

This commit is contained in:
2019-12-14 19:38:06 +01:00
parent 61f499e8e9
commit 5ce69e4dff
6 changed files with 37 additions and 114 deletions

View File

@@ -41,7 +41,7 @@ TEST(Intcode, TestImmediateLess) {
}
TEST(Intcode, TestComplicatedConditional) {
const std::vector<int> program = {3, 21, 1008, 21, 8, 20, 1005, 20, 22, 107, 8, 21, 20, 1006, 20, 31,
const std::vector<std::int64_t> program = {3, 21, 1008, 21, 8, 20, 1005, 20, 22, 107, 8, 21, 20, 1006, 20, 31,
1106, 0, 36, 98, 0, 0, 1002, 21, 125, 20, 4, 20, 1105, 1, 46, 104,
999, 1105, 1, 46, 1101, 1000, 1, 20, 4, 20, 1105, 1, 46, 98, 99};
auto pcopy = program;