This file contains 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
"""Helper functions for working with audio files in NumPy.""" | |
"""some code borrowed from https://github.com/mgeier/python-audio/blob/master/audio-files/utility.py""" | |
import numpy as np | |
import contextlib | |
import librosa | |
import struct | |
import soundfile | |
def float_to_byte(sig): |
This file contains 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
############################ | |
# 백준: 안전영역; grid 재사용할 수 있을듯 | |
# https://www.acmicpc.net/problem/2468 | |
############################ | |
from collections import deque | |
N = int(input()) | |
grid = [list(map(int, input().split())) for _ in range(N)] | |
cand = set() | |
for i in range(N): |
This file contains 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
############################ | |
# 어른 상어 | |
# https://www.acmicpc.net/submit/19237/41191333 | |
############################ | |
N, M, k = map(int, input().split()) | |
grid = [list(map(int, input().split())) for _ in range(N)] | |
direction = [None] + list(map(int, input().split())) | |
shark_dir = [[], ] | |
for _ in range(M): |
This file contains 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 selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.common.by import By | |
import sys | |
import pickle | |
import time |