Skip to content

Instantly share code, notes, and snippets.

Paul Lee hillcrestpaul0719

Block or report user

Report or block hillcrestpaul0719

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
hillcrestpaul0719 /
Last active Sep 22, 2019
:hudab: problem with code that raises exceptions
a = input()
raise Exception(a)
hillcrestpaul0719 /
Last active Sep 22, 2019
Addition problem with code that causes TLE
import time
a = int(input())
b = int(input())
print(a + b)
hillcrestpaul0719 / echo_problem.json
Last active Sep 22, 2019
Echo problem with code that AC
View echo_problem.json
"type": "problem",
"name": "echo",
"points": 3,
"timelimit": 3,
"memorylimit": 32000000,
"allowedlanguages": [],
"testdata_input_url": ""
hillcrestpaul0719 /
Last active Jun 20, 2019
A Python 3 program to aid people playing the popular game, four corners.
import time
from fractions import Fraction
import random
import copy
import sys
import traceback
instructions = ["""
=== Instructions ======
First, select your pawns. It could be anything.

Keybase proof

I hereby claim:

  • I am hillcrestpaul0719 on github.
  • I am hillcrestenigma ( on keybase.
  • I have a public key whose fingerprint is 6770 5659 05D4 D472 B3D5 C886 ABFC D13B AEE5 A8DA

To claim this, I am signing this object:

hillcrestpaul0719 /
Created Apr 21, 2018
A dix game with an AI that plays dix.
def possibility(curNum, curPlayer, playerNum, AINum, top=False):
possibilities = []
for i in range(1, 4):
if curNum + i > 9:
if curPlayer == AINum:
if top:
return [[False]]
# return [[True]]
return [False]
You can’t perform that action at this time.