본문 바로가기

전체 글195

[Youtube] 대한민국 최고 마술사 이은결과 마술 그 이상을 보여주는 숨막히는 마술대결! - 니키 저러한 마술을 보여주기까지 얼마나 많은 노력을 했을지 상상조차 되지 않는다. 1차원적인 마술에 더해 미술, 음악, 연기, 시사, 그리고 가장 중요한 메시지까지 담은 그야말로 종합 예술이라 볼 수 있다. 멋진 두 분의 대결이다. 2022. 1. 5.
#14503 로봇 청소기 문제 링크: https://www.acmicpc.net/problem/14503 14503번: 로봇 청소기 로봇 청소기가 주어졌을 때, 청소하는 영역의 개수를 구하는 프로그램을 작성하시오. 로봇 청소기가 있는 장소는 N×M 크기의 직사각형으로 나타낼 수 있으며, 1×1크기의 정사각형 칸으로 나누어 www.acmicpc.net 설명에 맞게 그냥 구현하기만 하면 된다. 방향에 유의할 것 #include using namespace std; int dir_x[4] = {0, 1, 0, -1}; int dir_y[4] = {-1, 0, 1, 0}; int state[50][50]; int main() { int n, m; scanf("%d %d", &n, &m); int cur_x, cur_y, dir; sca.. 2022. 1. 4.
27. Async JavaScript 273. Call Stack - A stack data structure that stores information about the active subroutine of a computer program. - Subroutines are stacked in call stack in execution order. * 실행 순서대로 subroutine들이 call stack에 쌓인다. 274. WebAPIs & Single Threads - JavaScript is a single-threaded language because of only one call stack (one line execution at a time). - Thus, if we send our data to a server for ex.. 2022. 1. 4.