Guest User

Christmas sale

a guest
Dec 20th, 2018
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.52 KB | None | 0 0
  1. import java.util.*
  2. import kotlin.io.*
  3. import kotlin.text.*
  4.  
  5. fun gamesCount(r: Int, d: Int, m: Int, n: Int): Int {
  6.     // Return the number of games you can buy
  7.     return 0
  8. }
  9.  
  10. fun main(args: Array<String>) {
  11.     val scanner = Scanner(System.`in`)
  12.  
  13.     val params = scanner.nextLine().split(" ")
  14.     val r = params[0].trim().toInt()
  15.     val d = params[1].trim().toInt()
  16.     val m = params[2].trim().toInt()
  17.     val n = params[3].trim().toInt()
  18.     val gamesCount = gamesCount(r, d, m, n)
  19.  
  20.     println(gamesCount)
  21. }
Advertisement
Add Comment
Please, Sign In to add comment