-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinfo.json
More file actions
23 lines (23 loc) · 1020 Bytes
/
Copy pathinfo.json
File metadata and controls
23 lines (23 loc) · 1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"year": "2020",
"day": "18",
"title": "Operation Order",
"testCases": {
"one": [
{"input":"1 + 2 * 3 + 4 * 5 + 6", "expected":71},
{"input":"1 + (2 * 3) + (4 * (5 + 6))", "expected":51},
{"input":"2 * 3 + (4 * 5)", "expected":26},
{"input":"5 + (8 * 3 + 9 + 3 * 4 * 3)", "expected":437},
{"input":"5 * 9 * (7 * 3 * 3 + 9 * 3 + (8 + 6 * 4))", "expected":12240},
{"input":"((2 + 4 * 9) * (6 + 9 * 8 + 6) + 6) + 2 + 4 * 2", "expected":13632}
],
"two": [
{"input":"1 + 2 * 3 + 4 * 5 + 6", "expected":231},
{"input":"1 + (2 * 3) + (4 * (5 + 6))", "expected": 51},
{"input":"2 * 3 + (4 * 5)", "expected": 46},
{"input":"5 + (8 * 3 + 9 + 3 * 4 * 3)", "expected": 1445},
{"input":"5 * 9 * (7 * 3 * 3 + 9 * 3 + (8 + 6 * 4))", "expected": 669060},
{"input":"((2 + 4 * 9) * (6 + 9 * 8 + 6) + 6) + 2 + 4 * 2", "expected": 23340}
]
}
}