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 copy import copy | |
from random import randint | |
def main(): | |
n = get_input() | |
if n > 3: | |
guard_num = -1 | |
new_guard_num = -1 | |
queen_coordinates = {} |
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
# -*- coding: utf-8 -*- | |
import datetime | |
import os | |
import sqlite3 | |
import subprocess | |
DataBase = './Log.sqlite' | |
db = sqlite3.connect(DataBase) | |
cursor = db.cursor() |