Language
C++
Compiler
gcc HEAD 9.0.1 20190422 (experimental)
Options
Boost 1.70.0
Sprout
C++11(GNU)
no pedantic
$ g++ prog.cc -I/opt/wandbox/boost-1.70.0/gcc-head/include -I/opt/wandbox/sprout -std=gnu++11 [j]: [[[4, 5, 6], [10, 11, 12]], [[1, 2, 3], [7, 8, 9]]]
[j,0,0,0,1,0,1]: [[[4, 5], [10, 11]]]
[4, 5, 6]
[10, 11, 12]
[a]: [([1, 2], ["gandalf", "the", "grey"]), ([3, 4], ["sauron"]), ([5], ["frodo", "bilbo"])]
[a,0,1]: [([1, 2], ["gandalf", "the", "grey"]), ([3, 4], ["sauron"])]
[a,5,5]: []
[b,1,2,0,0,0,0,1,2]: [[["lm"]], [["uv"]]]
[b,1,2,0,0,0,0]: [[["klm"]], [["tuv"]]]
[b,1,2,0,0]: [[["klm", "nop"]], [["tuv", "wxy", "zab"]]]
[b,1,2]: [[["klm", "nop"], ["qrs"]], [["tuv", "wxy", "zab"]]]
[b]: [[["abc", "def"], ["ghi"]], [["klm", "nop"], ["qrs"]], [["tuv", "wxy", "zab"]]]
[["abc", "def"], ["ghi"]]
[["klm", "nop"], ["qrs"]]
[["tuv", "wxy", "zab"]]
[c,0,0]: [(1, [(2, 3)])]
[c]: [(1, [(2, 3)]), (4, [(5, 6), (7, 8)]), (9, [(10, 11)])]
[q]: ["0011000000", "1011000000", "0111000000", "1111000000"]
[q,1,2,0,2]: ["101", "011"]
[q,5,5,0,2]: []
[i, q[i]]: 0 | "0011000000" |
[i, q[i]]: 1 | "1011000000" |
[m]: (1, [2, 3, 4])
[i]: [9, 10, 11, 12]
[i,2,3]: [11, 12]
[x,1,1]: [(3, 4)]
[x]: [(1, 2), (3, 4)]
[s,20,1]: ""
[s,1,4]: "odef"
[s,t,u,v]: "codeforces" | 5 | 'R' | ((234.345340, 42), (133, "IOI")) |
[5.345,7,12]: 5.345000 | 7 | 12 |
[W]: 2, 3, (5, "0110"), [7, 1, 6, 3, 7]
[w.a, w.b, w.c, w.d]: 2 | 3 | (5, "0110") | [7, 1, 6, 3, 7] |
4 $ ^
5 | "0100" | [4, 5, 2, 8] |
Exit Code:
0