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 os | |
import sys | |
from pathlib import Path, PureWindowsPath | |
def main(argv): | |
if len(argv) < 3: | |
return | |
FILENAME = argv[1] | |
ADDER = int(argv[2]) |
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 PIL import Image, ImageDraw, ImageFont | |
import csv | |
def get_names(): | |
f = open("./names.csv", "r", encoding="utf-8") | |
rdr = csv.reader(f) | |
namelist = [] | |
for line in rdr: |
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-01-11T08:27:46.976Z","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
// Empty |
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
int B_Search_Recursive(int* searchArray, int searchNumber, int low, int high) | |
{ | |
// low는 배열의 첫번째 요소, high는 배열의 마지막(갯수) | |
// mid를 low와 high의 중간값으로 설정하여 중간 지점의 값을 찾으려는 값과 비교. | |
int mid = (high + low) / 2; | |
if(searchArray[mid] == searchNumber) | |
{ | |
return mid; | |
} | |
else |