-
νμ
- μνκ³΅κ° λ΄μμ
- μμμνμμ λͺ©νμνκΉμ§μ κ²½λ‘λ₯Ό μ°Ύλ κ²
- κ° μνλ₯Ό μμ±νλ κ²μ μ°μ°μ λΌκ³ ν¨
-
μν, μ°μ°μ, κ·Έλ¦¬κ³ μν νΈλ¦¬λ₯Ό μ΄μ©ν΄ λ΅μ μ°Ύμλκ°λ κ²
- λ¬Όλ‘ μ΄λ₯Ό μ§μ νλ‘κ·Έλλ° νμ§λ μμΌλ©°, DFS/BFS λ₯Ό μ¬μ©ν΄ νμ΄λκ°
-
μκ³ λ¦¬μ¦
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
const fs = require('fs'); | |
const filenum = 30; // or 100 | |
const lines = 2000000; // or 1000000 | |
const errors = 100000; | |
const ratio = lines / errors | 0; | |
const count = lines / ratio | 0; | |
for (let i = 1; i <= filenum; i += 1) { |
μ΄ κΈμ Heinrich Hartmann λμ΄ μμ±νμ κΈμ νκ΅μ΄λ‘ λ²μν κ²μ λλ€. μλ¬Έμ https://www.heinrichhartmann.com/posts/writing/ μμ νμΈνμ€ μ μμ΅λλ€.
κΈμ°κΈ°λ ν° μ‘°μ§μμ μν₯λ ₯μ λ°ννλ λ° μ€μν©λλ€. κ²½λ ₯ μλ μννΈμ¨μ΄ μμ§λμ΄λ‘μμ κΈμ°κΈ°λ μ§λ¬΄ λ²μλ₯Ό νμ₯νκ³ κ²½λ ₯μ λ°μ μν€κΈ° μν΄ νλν΄μΌ νλ κ°μ₯ μ€μν κΈ°μ μ λλ€.
κΈμ°κΈ°λ μ΄λ ΅μ΅λλ€. λ§μ μννΈμ¨μ΄ μμ§λμ΄λ€μ΄ κΈμ°κΈ°μ μ¨λ¦νμ£ . μ λ κ°μΈμ μΌλ‘ λ¬Ένμ λν κ΄μ¬μ΄ μκΈ° λλ¬Έμ κΈμ°κΈ°κ° μμ°μ€λ½μ§ μμμ΅λλ€.
OlderNewer