結果
問題 | No.1550 nullくんの町清掃 / null's Town Cleaning |
ユーザー | 👑 箱 |
提出日時 | 2021-06-25 00:01:43 |
言語 | Kotlin (1.9.23) |
結果 |
AC
|
実行時間 | 260 ms / 2,000 ms |
コード長 | 593 bytes |
コンパイル時間 | 14,389 ms |
コンパイル使用メモリ | 414,132 KB |
実行使用メモリ | 50,536 KB |
最終ジャッジ日時 | 2023-09-07 13:30:37 |
合計ジャッジ時間 | 15,327 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 259 ms
50,420 KB |
testcase_01 | AC | 257 ms
50,408 KB |
testcase_02 | AC | 256 ms
50,380 KB |
testcase_03 | AC | 258 ms
50,228 KB |
testcase_04 | AC | 258 ms
50,408 KB |
testcase_05 | AC | 260 ms
50,536 KB |
testcase_06 | AC | 254 ms
50,456 KB |
testcase_07 | AC | 257 ms
50,168 KB |
testcase_08 | AC | 259 ms
50,308 KB |
ソースコード
import java.io.PrintWriter import java.util.* fun PrintWriter.solve() { val n = nextLong() println(n % 1000000007) } fun main() { val writer = PrintWriter(System.out, false) writer.solve() writer.flush() } // region Scanner private var st = StringTokenizer("") private val br = System.`in`.bufferedReader() fun next(): String { while (!st.hasMoreTokens()) st = StringTokenizer(br.readLine()) return st.nextToken() } fun nextInt() = next().toInt() fun nextLong() = next().toLong() fun nextLine() = br.readLine() fun nextDouble() = next().toDouble() // endregion