-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
22-LJEDD2 #88
Conversation
γ·γ±γ·γ±γ·γ± |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ½λκ° μμ£Ό κΉ-κΌΌνλ€μ!
SQLD μν νμ΄ν
μ
λλ€ :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
κ΅°λλκΈ° μλ κΉκΏν μ½λλ€μ!
νμ΄μ¬μμ 리μ€νΈ μ¬λΌμ΄μ± κ°λ₯ λ²μλ₯Ό μ§κ²λ€λ¦¬ μμΌλ‘ μ§μ ν μ μλ€λ κ²λ λ€μ νλ² μ λλ‘ λμ§κ³ κ°λλ€π
μν λ½μ΄ν μ λλ·π λ€ λΏμ λ²λ €μ!ππ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ΄λ κ² κ°κ²°νκ² ν μ μλ λ¬Έμ μλ€λ!! π²π€©
SQLD μν μ°’μ΄λ²λ¦¬μμΌ ππ
@@ -0,0 +1,10 @@ | |||
n = int(input()) | |||
n_list = list(map(int,input().split())) | |||
diff = sum(n_list[1::2]) - sum(n_list[::2]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ΄κ²λ μ λ§ GOAT νλ°μ!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λΉκ²¨λ²λ Έλ€μ νΌμνμ νκ² μ΅λλ€ μ -μ₯
π SQLD μν μ΄μλ‘ ... μ¬μ΄ μνλ¬Έμ λ₯Ό νμμ΄λλ€ πππ μ£μ‘ν¨λλ€
π λ¬Έμ λ§ν¬
λ°±μ€ - μν | λνκΈ°
λ¬Έμ μ€λͺ
μ ν 쑰건
βοΈ μμλ μκ°
50λΆ
β¨ μλ μ½λ
1. λ¬Έμ μ§λ¬Έ μ½κΈ°
1
μ© μ¬λ¦¬λ κ³Όμ μ μ΅μλ‘ λ°λ³΅νμ¬ ν©μ΄ κ°κ² λ§λ€μ΄μΌ νλ€.μ§μμ ν© + 2
&νμμ ν© + 1
λλμ§μμ ν© +1
&νμμ ν© +2
λ₯Ό λΉκ΅νλ©΄ λλ€.β νμμ ν©κ³Ό μ§μμ ν©μ κ°κ² λ§λλ λ¬Έμ μ΄λ€.
λ°λΌμ μ§μν©κ³Ό νμν©μ μ°¨μ΄λ§νΌ μ°μ°μ λ°λ³΅ν΄μ£Όλ©΄ λλλ°, λ§μ½ μΈ κ° μ«μλ§ μλ€λ©΄
μ§μμ ν© + 1
κ³Όνμμ ν© +2
μ κ²½μ°λ§ κ°λ₯νλ€.β N = 3μΌλμλ νμμ ν©μ΄ λ ν¬λ€λ©΄ κ°κ² λ§λ€ μ μλ€.
μλ₯Ό λ€μλ©΄,
μΈ κ°μ μ«μκ° κ°κ°
[1, 2, 3]
μ΄λΌκ³ κ°μ ν λ.μ΄ κ²½μ° νμμ ν©μ
1 + 3 = 4
μ΄κ³ , μ§μμ ν©μ2
κ° λλ€.μ£Όμ΄μ§ μ°μ°μ μ¬μ©νμ¬ μΈ κ°μ μ«μλ₯Ό κ°κ² λ§λ€λ €κ³ ν΄λ, νμμ ν©μ΄ κ³μν΄μ λ 컀μ§κΈ° λλ¬Έμ μ§μμ ν©μ΄ λ°λΌμ‘μ μ μλ€.
λ°λΌμ ν΄λΉ 쑰건μ μΆκ°ν΄μ€ λ€ μ§μν©κ³Ό νμν©μ μ°¨μ΄ (μ λκ°)λ₯Ό μΆλ ₯ν΄μ£Όλ©΄ λλ€.
1-1. π κΏν
2. μ 체 μ½λ
π μλ‘κ² μκ²λ λ΄μ©