• Home
  • About
    • Moon photo

      Moon

      개발자는 자고 싶다.

    • Learn More
    • Twitter
    • Facebook
    • Instagram
    • Github
    • Steam
  • Posts
    • All Posts
    • All Tags
  • Projects

백준 - 10951 A+B - 4

07 Jun 2022

Reading time ~1 minute

문제

10951 A+B - 4

screencapture

답

kotlin code

import java.util.*

fun main(args: Array<String>) {
    q10951();
}

fun q10951() = with(Scanner(System.`in`)) {
    while (hasNextInt()) {
        println(nextInt() + nextInt())
    }
}


baekjoonkotlin코틀린백준브론즈수학구현사칙연산 Share Tweet +1