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 pandas import DataFrame | |
| import altair as alt | |
| import timeit | |
| def gcd_brute_force(a, b): | |
| pass | |
| def gcd_dijkstra(a, b): |
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
| import sys | |
| import time | |
| import pyautogui | |
| mapping = {"1": (1, 2), "2": (1, 2), "3": (1, 2), "4": ( | |
| 1, 2), "5": (1, 2), "6": (1, 2), "7": (1, 2)} | |
| pause_delay = 1 | |
| with open("sheet.txt", 'r') as file: | |
| text = file.read().rstrip() |
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
| use std::io::{self, Write}; | |
| fn main() { | |
| const BUFFER_CAPACITY: usize = 64 * 1024; | |
| let stdout = io::stdout(); | |
| let handle = stdout.lock(); | |
| let mut handle = io::BufWriter::with_capacity(BUFFER_CAPACITY, handle); | |
| let mut i: usize = 0; | |
| loop { | |
| i += 1; |
NewerOlder