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
void selectionSort(int arr[], int n) { | |
int min_idx; | |
for (int i = 0; i < n - 1; i++) { | |
min_idx = i; | |
for (int j = i + 1; j < n; j++) { | |
res.compare = res.compare+1; | |
if (arr[j] < arr[min_idx]) { | |
min_idx = j; | |
} | |
} |
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 <iostream> | |
#include <algorithm> | |
#include <string> | |
#include <vector> | |
#include <queue> | |
#include <cstring> | |
#include <map> | |
#include <stack> | |
#include <functional> | |
#include <set> |
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 <iostream> | |
#include <algorithm> | |
#include <string> | |
#include <vector> | |
#include <queue> | |
#include <cstring> | |
#include <map> | |
#include <stack> | |
#include <functional> | |
#include <set> |
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 requests | |
from bs4 import BeautifulSoup as bs | |
import time | |
import multiprocessing as mp | |
import os | |
import urllib.request | |
def _get(keyword): | |
html = requests.get('https://search.naver.com/search.naver?where=image&sm=tab_jum&query=' + keyword).content | |
soup = bs(html, 'html.parser') |
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 requests | |
from bs4 import BeautifulSoup as bs | |
import time | |
import multiprocessing as mp | |
import os | |
def _get(index, title_list, score_list): | |
html = requests.get('https://www.jobplanet.co.kr/companies/' + str(index)).content | |
soup = bs(html, 'html.parser') |
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 requests | |
from bs4 import BeautifulSoup as bs | |
import time | |
import multiprocessing as mp | |
import os | |
def _get(index, title_list, score_list): | |
html = requests.get('https://www.jobplanet.co.kr/companies/' + str(index)).content | |
soup = bs(html, 'html.parser') |
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 <iostream> | |
#include <algorithm> | |
#include <string> | |
#include <vector> | |
#include <queue> | |
#include <cstring> | |
#include <map> | |
#include <stack> | |
#include <functional> | |
#include <set> |
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 <iostream> | |
#include <algorithm> | |
#include <string> | |
#include <vector> | |
#include <queue> | |
#include <cstring> | |
#include <map> | |
#include <stack> | |
#include <functional> | |
#include <set> |