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
// Array operations | |
// Search | |
// Insert | |
// Traverse | |
// Update | |
#include<string.h> | |
#include<stdio.h> | |
// O(n) time |
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
#include<stdio.h> | |
int map(int *arr, int (*(*foo)(int))(int), int choose) { | |
printf("%d", foo(choose)(arr[0])); | |
} | |
int barfoo(int x) { | |
return x - 1; | |
} | |
int foobar(int x) { |
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 pyautogui import * | |
import pyautogui | |
import time | |
import keyboard | |
import pygetwindow as gw | |
import sys | |
import math | |
import win32api | |
screencenter = 1980 / 2, 1080 / 2 |
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
import decimal | |
# version check | |
import sys | |
from decimal import Decimal | |
if sys.version_info[0] != 3: | |
try: | |
print("This script requires Python 3") | |
except SyntaxError as err: | |
raise err |
NewerOlder