-
Notifications
You must be signed in to change notification settings - Fork 2
/
output.txt
57 lines (45 loc) · 9.97 KB
/
output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Starting...
<< Received >> Rules:
<< Received >> Rules:() + () = ()() => [combine]
((())) + () = ((())()) => [absorb-right]
() + ((())) = (()(())) => [absorb-left]
(())(()) + () = (())(()()) => [combined-absorb-right]
() + (())(()) = (()())(()) => [combined-absorb-left]
(())(()) + ((())) = ((())(())(())) => [absorb-combined-right]
((())) + (())(()) = ((())(())(())) => [absorb-combined-left]
() + (()) + ((())) = (()()) + ((())) = ((()())(())) => [left-associative]
Example:
(()) + () = () + (()) = (()())
Let's start with a warmup.
(()) + (()()) = ???
>
<< Equation: (()) + (()())
<< Solution: (())(()())
<< Received >> Correct!
<< Received >> Correct!Okay, now we're cookin!
(()()()) + ()() + (()) = ???
>
<< Equation: (()()()) + ()() + (())
<< Solution: (()()()()())(())
<< Received >> Correct!
<< Received >> Correct!Alright see if you can get this one.
(()()) + (((()())()())()) + (()()()()()()()()) + (()) + ()()() = ???
>
<< Equation: (()()) + (((()())()())()) + (()()()()()()()()) + (()) + ()()()
<< Solution: ((()())((()())()())()(()()()()()()()())(())()()())
<< Received >> Correct!
<< Received >> Correct!This one's a little bigger!
(()) + (()()()) + (()()()()()()()()) + () + (()(())) + (((()())()())()) + (((()())()())()) + (()()()()()()()()) + (()()) + ()() = ???
>
<< Equation: (()) + (()()()) + (()()()()()()()()) + () + (()(())) + (((()())()())()) + (((()())()())()) + (()()()()()()()()) + (()()) + ()()
<< Solution: (((())(()()())(()()()()()()()()())()(()))((()())()())())(((()())()())()(()()()()()()()())(()())()())
<< Received >> Correct!
<< Received >> Correct!Ha. No more messin around. Final Round.
((()())()(())(()()())(()()()()()()()())) + ((())()()()(()()())) + ((()(())()()())((()(())((()))(((())))()()))()) + (()()()()()()()()()) + (((()()()()()()()()())()(((()()())()())()()))()(())((()))(((())))((((()))))) + (((()()())(())())()(((()()())()())()())) + (()()(())(())(()()())) + (((()())()(((()()())()())()()))((()(())((()))(((())))()()))()) + (((())())(()()()(())()())((((()))))(((())))((()))(())()) + (()()()) + ((()()()()()()()()()()()())((()())()())()) + ((()()()()()()()()()()())()(())((()))(((())))((((()))))) + ((()()(())()()())()(((()()())()())()())) + (((())())((()(())((()))(((())))()()))()) + ((()()()())((((()))))(((())))((()))(())()) + ((()()()()()(((()()())()())()()))((((()))))(((())))((()))(())()) + ((()()()()(((()()())()())()()))((()(())((()))(((())))()()))()) + ((()()()())((()())()())()) + ()()()() + ((()())(())()(())((()))(((())))((((()))))) + ((()()()()((()())()())())((()(())((()))(((())))()()))()) + ((()()()()()()())()(((()()())()())()())) + (((()()()()()()()())()()()(())()())()(((()()())()())()())) + ((()()()()()()(())()())()(())((()))(((())))((((()))))) + ((()())()(()))((())()(())) + (((()())()(())()())()(((()()())()())()())) + (()()()()()()) + (()()(())(()()())(()()()()()()()())) + ((()()())()(())(()()()()()()()())) + ((()())(())()()()(()()()()()()()())) + (((()())()(()))(()()()(())()())((()(())((()))(((())))()()))()) + ((()()()()()()(())()())((()(())((()))(((())
<< Received >> Correct!Ha. No more messin around. Final Round.
((()())()(())(()()())(()()()()()()()())) + ((())()()()(()()())) + ((()(())()()())((()(())((()))(((())))()()))()) + (()()()()()()()()()) + (((()()()()()()()()())()(((()()())()())()()))()(())((()))(((())))((((()))))) + (((()()())(())())()(((()()())()())()())) + (()()(())(())(()()())) + (((()())()(((()()())()())()()))((()(())((()))(((())))()()))()) + (((())())(()()()(())()())((((()))))(((())))((()))(())()) + (()()()) + ((()()()()()()()()()()()())((()())()())()) + ((()()()()()()()()()()())()(())((()))(((())))((((()))))) + ((()()(())()()())()(((()()())()())()())) + (((())())((()(())((()))(((())))()()))()) + ((()()()())((((()))))(((())))((()))(())()) + ((()()()()()(((()()())()())()()))((((()))))(((())))((()))(())()) + ((()()()()(((()()())()())()()))((()(())((()))(((())))()()))()) + ((()()()())((()())()())()) + ()()()() + ((()())(())()(())((()))(((())))((((()))))) + ((()()()()((()())()())())((()(())((()))(((())))()()))()) + ((()()()()()()())()(((()()())()())()())) + (((()()()()()()()())()()()(())()())()(((()()())()())()())) + ((()()()()()()(())()())()(())((()))(((())))((((()))))) + ((()())()(()))((())()(())) + (((()())()(())()())()(((()()())()())()())) + (()()()()()()) + (()()(())(()()())(()()()()()()()())) + ((()()())()(())(()()()()()()()())) + ((()())(())()()()(()()()()()()()())) + (((()())()(()))(()()()(())()())((()(())((()))(((())))()()))()) + ((()()()()()()(())()())((()(())((()))(((())))()()))()) + ((()()()()()()()()()())()(((()()())()())()())) + (((())()(((()()())()())()()))((((()))))(((())))((()))(())()) + (((()(()))()(((()()())()())()()))((()(())((()))(((())))()()))()) + ((()()()()()())()()()(())()()) + ((()()()()()()()()()())()()()(())()()) + ((()()(()))((())())()(((()()())()())()())) + ((()(()))((())())((()())()())()) + ((()()()()(())()())((()(())((()))(((())))()()))()) + (((()()()()()()()()())()()()(())()())()(())((()))(((())))((((()))))) + ((()())()(())()()(()()()()()()()())) + ((()()())((()(())((()))(((())))()()))()(()(())((()))(((())))((((())))))) + ((())()(()()()()()()()()))(()()()(())()()) + (((()())(())()()())((()())()())()) + ((()()()()())()()()(())()()) + (((()())()(()))((())())()(())((()))(((())))((((()))))) + ((()()()())()(((()()())()())()())) + (((())((()())()())())((()(())((()))(((())))()()))()) + (((())()(()()()))()(())((()))(((())))((((()))))) = ???
>
<< Equation: ((()())()(())(()()())(()()()()()()()())) + ((())()()()(()()())) + ((()(())()()())((()(())((()))(((())))()()))()) + (()()()()()()()()()) + (((()()()()()()()()())()(((()()())()())()()))()(())((()))(((())))((((()))))) + (((()()())(())())()(((()()())()())()())) + (()()(())(())(()()())) + (((()())()(((()()())()())()()))((()(())((()))(((())))()()))()) + (((())())(()()()(())()())((((()))))(((())))((()))(())()) + (()()()) + ((()()()()()()()()()()()())((()())()())()) + ((()()()()()()()()()()())()(())((()))(((())))((((()))))) + ((()()(())()()())()(((()()())()())()())) + (((())())((()(())((()))(((())))()()))()) + ((()()()())((((()))))(((())))((()))(())()) + ((()()()()()(((()()())()())()()))((((()))))(((())))((()))(())()) + ((()()()()(((()()())()())()()))((()(())((()))(((())))()()))()) + ((()()()())((()())()())()) + ()()()() + ((()())(())()(())((()))(((())))((((()))))) + ((()()()()((()())()())())((()(())((()))(((())))()()))()) + ((()()()()()()())()(((()()())()())()())) + (((()()()()()()()())()()()(())()())()(((()()())()())()())) + ((()()()()()()(())()())()(())((()))(((())))((((()))))) + ((()())()(()))((())()(())) + (((()())()(())()())()(((()()())()())()())) + (()()()()()()) + (()()(())(()()())(()()()()()()()())) + ((()()())()(())(()()()()()()()())) + ((()())(())()()()(()()()()()()()())) + (((()())()(()))(()()()(())()())((()(())((()))(((())))()()))()) + ((()()()()()()(())()())((()(())((()))(((())))()()))()) + ((()()()()()()()()()())()(((()()())()())()())) + (((())()(((()()())()())()()))((((()))))(((())))((()))(())()) + (((()(()))()(((()()())()())()()))((()(())((()))(((())))()()))()) + ((()()()()()())()()()(())()()) + ((()()()()()()()()()())()()()(())()()) + ((()()(()))((())())()(((()()())()())()())) + ((()(()))((())())((()())()())()) + ((()()()()(())()())((()(())((()))(((())))()()))()) + (((()()()()()()()()())()()()(())()())()(())((()))(((())))((((()))))) + ((()())()(())()()(()()()()()()()())) + ((()()())((()(())((()))(((())))()()))()(()(())((()))(((())))((((())))))) + ((())()(()()()()()()()()))(()()()(())()()) + (((()())(())()()())((()())()())()) + ((()()()()())()()()(())()()) + (((()())()(()))((())())()(())((()))(((())))((((()))))) + ((()()()())()(((()()())()())()())) + (((())((()())()())())((()(())((()))(((())))()()))()) + (((())()(()()()))()(())((()))(((())))((((())))))
<< Solution: (((()())()(())(()()())(()()()()()()()()))((())()()()(()()()))(()(())()()())((()(())((()))(((())))()()))()(()()()()()()()()())(((()()()()()()()()())()(((()()())()())()()))()(())((()))(((())))((((())))))(((()()())(())())()(((()()())()())()()))(()()(())(())(()()())))(((()())()(((()()())()())()()))((()(())((()))(((())))()()))()(((())())(()()()(())()())((((()))))(((())))((()))(())())(()()())((()()()()()()()()()()()())((()())()())())((()()()()()()()()()()())()(())((()))(((())))((((())))))((()()(())()()())()(((()()())()())()())))(((())())((()(())((()))(((())))()()))()((()()()())((((()))))(((())))((()))(())())((()()()()()(((()()())()())()()))((((()))))(((())))((()))(())()))((()()()()(((()()())()())()()))((()(())((()))(((())))()()))()((()()()())((()())()())())()()()()((()())(())()(())((()))(((())))((((()))))))((()()()()((()())()())())((()(())((()))(((())))()()))()((()()()()()()())()(((()()())()())()()))(((()()()()()()()())()()()(())()())()(((()()())()())()()))((()()()()()()(())()())()(())((()))(((())))((((())))))((()())()(()))((())()(()))(((()())()(())()())()(((()()())()())()()))(()()()()()())(()()(())(()()())(()()()()()()()()))((()()())()(())(()()()()()()()()))((()())(())()()()(()()()()()()()())))(((()())()(()))(()()()(())()())((()(())((()))(((())))()()))())((()()()()()()(())()())((()(())((()))(((())))()()))()((()()()()()()()()()())()(((()()())()())()()))(((())()(((()()())()())()()))((((()))))(((())))((()))(())()))(((()(()))()(((()()())()())()()))((()(())((()))(((())))()()))()((()()()()()())()()()(())()())((()()()()()()()()()())()()()(())()())((()()(()))((())())()(((()()())()())()()))((()(()))((())())((()())()())()))((()()()()(())()())((()(())((()))(((())))()()))()(((()()()()()()()()())()()()(())()())()(())((()))(((())))((((())))))((()())()(())()()(()()()()()()()())))((()()())((()(())((()))(((())))()()))()(()(())((()))(((())))((((())))))((())()(()()()()()()()()))(()()()(())()())(((()())(())()()())((()())()())())((()()()()())()()()(())()())(((()())()(()))((())())()(())((()))(((())))((((())))))((()()()())()(((()()())()())()())))(((())((()())()())())((()(())((()))(((())))()()))()(((())()(()()()))()(())((()))(((())))((((()))))))
<< Received >> Correct!
<< Received >> Correct!Congratulations, here's your flag: picoCTF{5cr1pt1nG_l1k3_4_pRo_0466cdd7}