Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*
- import kotlin.io.*
- import kotlin.text.*
- fun gamesCount(r: Int, d: Int, m: Int, n: Int): Int {
- // Return the number of games you can buy
- return 0
- }
- fun main(args: Array<String>) {
- val scanner = Scanner(System.`in`)
- val params = scanner.nextLine().split(" ")
- val r = params[0].trim().toInt()
- val d = params[1].trim().toInt()
- val m = params[2].trim().toInt()
- val n = params[3].trim().toInt()
- val gamesCount = gamesCount(r, d, m, n)
- println(gamesCount)
- }
Advertisement
Add Comment
Please, Sign In to add comment