Skip to content

Instantly share code, notes, and snippets.

alpha@localhost ~ % offload glxinfo :(
name of display: :0
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 39
Current serial number in output stream: 40
u = int(input("Enter the number of round tables\n: "))
v = int(input("Enter the number of people\n: "))
if (u > 0 and v > 0) and (u < 100 and v < 100):
from itertools import *
if v % u != 0:
distr0 = list(combinations([i for i in range(v)], int(v / u)))
tmp = list(product(distr0, [i for i in range(v % u)]))
else:
tmp = list(combinations([i for i in range(v)], int(v / u)))
"""for i in tmp:

Keybase proof

I hereby claim:

  • I am alfa-carinae on github.
  • I am alpha_carinae (https://keybase.io/alpha_carinae) on keybase.
  • I have a public key ASCGC6I-Xnd92kPzMmXMEpIbPASlD-I3EOngGmB3y8_ZXgo

To claim this, I am signing this object: