PAST3E
PAST3E
E Problem of coloring a graph. Write in a simple and concise manner so as not to include bugs.
code:python
from collections import defaultdict
edges = defaultdict(list)
for i in range(NUM_EDGES):
for i in range(Q):
# print(colors)
# print(f, v)
if f == 1:
n, = v
print(c)
# sprincle
# print(edges)
elif f == 2:
n, c = v
---
This page is auto-translated from /nishio/PAST3E. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.