This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Solution: | |
num_to_alpha_dict = {str(num): chr( ord("A") + num-1 ) for num in range(1,27)} | |
ways = 0 | |
# Dictionary for memoization | |
ways_dict = dict() | |
def decode_message(self, s): | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2021-07-08T19:07:42.297Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try: | |
import pyperclip | |
import os | |
from tkinter import Tk, messagebox | |
import subprocess | |
except Exception as e: | |
print("Import Error: Modules pyperclip and Tkinter are needed.") | |
exit(1) | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from time import time | |
import random | |
def getTimestamp(): | |
return int(time()) | |
entries = [] | |
people = 0 | |
peopleList = [0] | |
timestamp = getTimestamp() |