rename invalid name in contest

This commit is contained in:
2026-05-04 15:01:08 +09:00
parent d6777983a1
commit d1720c1567
12 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
import java.io.StreamTokenizer
fun calcs(maxCycle: Int, calcs: List<Pair<Int, Int>>, query: List<Int>) {
var sCalcs = calcs.sortedBy { it.first }
}
fun main() = with(StreamTokenizer(System.`in`.bufferedReader())) {
nextToken()
val n = nval.toInt()
nextToken()
val maxCycle = nval.toInt()
val calcs = (1..n).map {
nextToken()
val s = nval.toInt()
nextToken()
val e = nval.toInt()
Pair(s, e)
}
val q = nval.toInt()
val times = (1..q).map {
nextToken()
nval.toInt()
}
}