A Kotlin Template So Bad It's A Crime

Revision en1, by fire12324344, 2026-12-02 01:17:30

import java.io.BufferedInputStream fun main() { class FasterScanner { private val input = BufferedInputStream(System.`in`) fun nextLong(): Long { var c = input.read() while (c <= 32) c = input.read() var num = 0L while (c > 32) { num = num * 10 + (c - 48) c = input.read() } return num } fun nextInt(): Int = nextLong().toInt() } val fs = FasterScanner() val res = StringBuilder() fun solve() { } val t = fs.nextInt() repeat(t) {solve()} print(res) }

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English fire12324344 2026-12-02 01:17:30 720 Initial revision (published)