λ°μν
π νμ΄μ¬ μκ³ λ¦¬μ¦ ν λ!! μ λ ₯ μλ λ¬Έμ
π΅ input vs sys.stdin.readline
μ²λ§κ°μ μ«μλ₯Ό νμ€νμ€ μ λ ₯λ°μ λμ μλ
μ λ ₯ λ°©λ² | μλ |
input() | 12.5μ΄ |
sys.stdin.readline() | 4.5μ΄ |
κ²°λ‘ : μ¬λ¬μ€μ μ λ ₯λ°μ λλ input() λμ sys.stdin.readline() λ₯Ό μ°μ
μΆμ²: BACKJOON ONLINE JUDGE
λ§ν¬: https://www.acmicpc.net/blog/view/56
λ°μν
'Programming language > Python' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
[python] filter (2) | 2020.08.31 |
---|---|
[python] accumulate(itertools), λμ ν© (0) | 2020.08.30 |
[python] defaultdict (0) | 2020.08.29 |
[python] pow, μ κ³±, κ±°λμ κ³±κ³Ό λλ¨Έμ§ (0) | 2020.08.28 |
[python] heapq(νν, μ°μ μμν) (2) | 2020.08.26 |