Slime and Queries
2237H3500· legendary gm5s1024 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
105 2 33 52 14 33 21 21 4 36 3 45 11 36 14 12 11 2 35 2 5 67 3 53 74 21 32 16 35 21 2 47 3 2 5 25 2 53 11 52 14 11 23 3 3 4 26 3 64 63 21 25 42 42 4 56 6 1 2 4 67 4 55 23 12 13 76 34 21 2 3 47 4 4 5 14 3 43 11 42 11 2 34 1 2 36 2 52 45 42 16 43 21 26 1 1 1 27 2 52 47 33 61 31 25 21 24 6 1 6 58 4 65 23 27 54 38 71 26 52 3 4 58 7 3 3 7 8
Output
0 2 31 1 2 32 4 6 8 91 2 3 4 41 2 3 4 4 41 2 3 3 41 1 2 22 4 6 8 91 4 7 10 112 3 4 4 5 5
58%
2237H.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…