https://www.acmicpc.net/problem/11052 11052번: 카드 구매하기 첫째 줄에 민규가 구매하려고 하는 카드의 개수 N이 주어진다. (1 ≤ N ≤ 1,000) 둘째 줄에는 Pi가 P1부터 PN까지 순서대로 주어진다. (1 ≤ Pi ≤ 10,000) www.acmicpc.net const fs = require('fs'); const input = fs.readFileSync("./dev/stdin").toString().trim().split('\n'); const N = +input[0] const card = input[1].split(' ').map(Number) let dp = [0,...card] for(let i = 2; i

예전에 litecoin에서 했던거랑 비슷 geth 콘솔 들어가기 geth attach ipc:\\.\pipe\geth.ipc PS C:\Users\kdch0\geth_practice> geth attach ipc:\\.\pipe\geth.ipc Welcome to the Geth JavaScript console! instance: Geth/v1.10.14-stable-11a3a350/windows-amd64/go1.17.5 coinbase: 0xfb33f05afd6ce086b01437a1ad146a0209f5981c at block: 149 (Mon Dec 27 2021 00:24:27 GMT+0900 (KST)) datadir: C:\Users\kdch0\geth_practice modules: ad..

nodestart cmd 파일 생성 cd .\geth_practice\ code nodestart.cmd nodestart.cmd geth --networkid 7029 --mine --miner.threads 2 --datadir "./" --nodiscover --http --http.port "8545" --http.corsdomain "*" --nat "any" --http.api eth,web3,personal,net --allow-insecure-unlock --password ./password.sec geth 명령어 더보기 USAGE: geth [options] [command] [command options] [arguments...] VERSION: 1.10.14-stable-11a3a..
https://www.acmicpc.net/problem/2529 2529번: 부등호 두 종류의 부등호 기호 ‘’가 k개 나열된 순서열 A가 있다. 우리는 이 부등호 기호 앞뒤에 서로 다른 한 자릿수 숫자를 넣어서 모든 부등호 관계를 만족시키려고 한다. 예를 들어, 제시 www.acmicpc.net const fs = require('fs'); const input = fs.readFileSync("./dev/stdin").toString().trim().split('\n'); const N = +input[0] const inequality = input[1].split(' ') const answer = []; function check(str,cnt){ if(cnt==N){ answer.push(s..
https://www.acmicpc.net/problem/2217 2217번: 로프 N(1 ≤ N ≤ 100,000)개의 로프가 있다. 이 로프를 이용하여 이런 저런 물체를 들어올릴 수 있다. 각각의 로프는 그 굵기나 길이가 다르기 때문에 들 수 있는 물체의 중량이 서로 다를 수도 있다. 하 www.acmicpc.net const fs = require('fs'); const input = fs.readFileSync("./dev/stdin").toString().trim().split('\n').map(Number); const N = input.shift(); const rope = input.sort((a,b)=>a-b); let answer = 0; while(rope.length>0){ let ..
https://www.acmicpc.net/problem/2583 2583번: 영역 구하기 첫째 줄에 M과 N, 그리고 K가 빈칸을 사이에 두고 차례로 주어진다. M, N, K는 모두 100 이하의 자연수이다. 둘째 줄부터 K개의 줄에는 한 줄에 하나씩 직사각형의 왼쪽 아래 꼭짓점의 x, y좌표값과 오 www.acmicpc.net const fs = require('fs'); const input = fs.readFileSync("./dev/stdin").toString().trim().split('\n').map(v=>v.split(' ').map(Number)); const [N,M,K] = input.shift(); const dir = [[1,0],[-1,0],[0,1],[0,-1]] //모눈종이..

geth설치 https://geth.ethereum.org/downloads/ 윈도우 터미널에서 실습할 폴더를 만들어주고 이동한다. mkdir geth_practice cd geth_practice puppeth를 이용해 genesisblock을 생성 puppeth 네트워크 이름을 정해라. (공백, 하이픈, 대문자ㄴㄴ) Please specify a network name to administer (no spaces, hyphens or capital letters please) > hellogenesis 뭐할꺼냐? 2 What would you like to do? (default = stats) 1. Show network stats 2. Configure new genesis 3. Track new..
https://www.acmicpc.net/problem/11727 11727번: 2×n 타일링 2 2×n 직사각형을 1×2, 2×1과 2×2 타일로 채우는 방법의 수를 구하는 프로그램을 작성하시오. 아래 그림은 2×17 직사각형을 채운 한가지 예이다. www.acmicpc.net const fs = require('fs'); const N = +fs.readFileSync("./dev/stdin").toString().trim(); let dp = [0,1,3]; for(let i = 3; i
- Total
- Today
- Yesterday
- 은둔청년체험
- 롱베케이션
- 면접비
- 다이나믹프로그래밍
- 서버개발
- 최소공통조상
- create db
- 투포인터
- 다이나밍프로그래밍
- MOD
- BFS
- 개발자면접
- 투포인터 연습
- 로드나인
- 서버점검
- 면접질문
- create databases;
- 그래프
- MySQL
- node.js
- 동적프로그래밍
- DB 생성
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |