Skip to content
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

[Week6] 강동호: 수리공 항승, 큰 수 만들기, 신입 사원, 동전 0, 잃어버린 괄호 #29

Merged
merged 6 commits into from
Jun 25, 2022

Conversation

gongdongho12
Copy link
Member

📒 Issue Number

linked issue #26


💎 문제 해결

수리공 항승: 🔺
큰 수 만들기: ⭕️
신입 사원: ⭕️
동전 0: ⭕️
잃어버린 괄호: ⭕️

🔥 특이사항/질문

수리공 참고 했습니다 ㅠ

fun main() {
val br = BufferedReader(InputStreamReader(System.`in`))
val answer = br.readLine().split("-").toMutableList().run {
removeFirst().split("+").sumOf { it.toInt() } - sumOf { it.split("+").sumOf { it.toInt() } }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

우와! 많이 배워갑니다..!

@gongdongho12 gongdongho12 merged commit e6fae90 into main Jun 25, 2022
@gongdongho12 gongdongho12 deleted the week6_dongho branch June 25, 2022 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants