aoc-2023/day_19/example.json

214 lines
3.5 KiB
JSON
Raw Permalink Normal View History

2024-12-09 22:41:02 +09:00
{
"rules": [
{
"name": "px",
"rules": [
{
"condition": {
"quality": "a",
"cond": "<",
"value": 2006
},
"dest": "qkq"
},
{
"condition": {
"quality": "m",
"cond": ">",
"value": 2090
},
"dest": "A"
}
],
"always": "rfg"
},
{
"name": "pv",
"rules": [
{
"condition": {
"quality": "a",
"cond": ">",
"value": 1716
},
"dest": "R"
}
],
"always": "A"
},
{
"name": "lnx",
"rules": [
{
"condition": {
"quality": "m",
"cond": ">",
"value": 1548
},
"dest": "A"
}
],
"always": "A"
},
{
"name": "rfg",
"rules": [
{
"condition": {
"quality": "s",
"cond": "<",
"value": 537
},
"dest": "gd"
},
{
"condition": {
"quality": "x",
"cond": ">",
"value": 2440
},
"dest": "R"
}
],
"always": "A"
},
{
"name": "qs",
"rules": [
{
"condition": {
"quality": "s",
"cond": ">",
"value": 3448
},
"dest": "A"
}
],
"always": "lnx"
},
{
"name": "qkq",
"rules": [
{
"condition": {
"quality": "x",
"cond": "<",
"value": 1416
},
"dest": "A"
}
],
"always": "crn"
},
{
"name": "crn",
"rules": [
{
"condition": {
"quality": "x",
"cond": ">",
"value": 2662
},
"dest": "A"
}
],
"always": "R"
},
{
"name": "in",
"rules": [
{
"condition": {
"quality": "s",
"cond": "<",
"value": 1351
},
"dest": "px"
}
],
"always": "qqz"
},
{
"name": "qqz",
"rules": [
{
"condition": {
"quality": "s",
"cond": ">",
"value": 2770
},
"dest": "qs"
},
{
"condition": {
"quality": "m",
"cond": "<",
"value": 1801
},
"dest": "hdj"
}
],
"always": "R"
},
{
"name": "gd",
"rules": [
{
"condition": {
"quality": "a",
"cond": ">",
"value": 3333
},
"dest": "R"
}
],
"always": "R"
},
{
"name": "hdj",
"rules": [
{
"condition": {
"quality": "m",
"cond": ">",
"value": 838
},
"dest": "A"
}
],
"always": "pv"
}
],
"materials": [
{
"x": 787,
"m": 2655,
"a": 1222,
"s": 2876
},
{
"x": 1679,
"m": 44,
"a": 2067,
"s": 496
},
{
"x": 2036,
"m": 264,
"a": 79,
"s": 2244
},
{
"x": 2461,
"m": 1339,
"a": 466,
"s": 291
},
{
"x": 2127,
"m": 1623,
"a": 2188,
"s": 1013
}
]
}