본문 바로가기

Jaeilit

검색하기
Jaeilit
프로필사진 Jaeilit

  • 분류 전체보기 (143)
    • JavaScript (14)
    • Typescript (6)
    • React (3)
    • TIL (94)
    • 알고리즘 (22)
    • 로또헌터 (4)
Guestbook
250x250
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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 29 30 31
Tags
  • v8 원리
  • toggle-btn
  • 렌더링 최적화
  • chromatic error
  • JS module system
  • 알고리즘
  • 리액트 메모
  • this
  • 항해99 미니프로젝트
  • FP 특징
  • 리액트 렌더링 최적화
  • jwt
  • 웹 크롤링
  • 테스트 코드 툴 비교
  • 리액트
  • 코어자바스크립트
  • 타입스크립트
  • js배열 알고리즘
  • 자바스크립트 엔진 v8
  • next js
  • Js module
  • 항해99 사전스터디
  • 항해99
  • gql restapi 차이
  • 항해99 부트캠프
  • 함수형 프로그래밍 특징
  • 웹팩 기본개념
  • 실행컨텍스트
  • 리액트 메모이제이션
  • 리덕스
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록11399 js (1)

Jaeilit

백준 ATM 11399 js

내 코드 const fs = require("fs"); const filePath = process.platform === "linux" ? "/dev/stdin" : "./준/누적합/11399/input.txt"; const input = require("fs") .readFileSync(filePath) .toString() .trim() .split("\n"); const N = input.shift(); const time = input.map((e) => e.split(" ").map(Number)).flat(); // [[1, 3], [2, 1], [3, 4], [4, 3], [5, 2]] let arr = []; time.forEach((e, i) => { return arr.push([i ..

알고리즘 2022. 10. 21. 15:54
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바