結果

問題 No.3092 3-2-SAT
ユーザー 👑 箱星箱星
提出日時 2022-04-01 21:28:32
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 838 bytes
コンパイル時間 12,474 ms
コンパイル使用メモリ 439,096 KB
実行使用メモリ 64,552 KB
最終ジャッジ日時 2024-04-30 13:05:55
合計ジャッジ時間 19,660 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 278 ms
62,152 KB
testcase_01 AC 353 ms
62,252 KB
testcase_02 AC 370 ms
62,260 KB
testcase_03 AC 349 ms
64,392 KB
testcase_04 AC 355 ms
62,328 KB
testcase_05 AC 367 ms
64,552 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 280 ms
62,152 KB
testcase_12 AC 271 ms
62,296 KB
testcase_13 AC 273 ms
62,156 KB
testcase_14 AC 277 ms
62,148 KB
testcase_15 AC 279 ms
62,160 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.PrintWriter
import java.util.*
import kotlin.math.*

fun PrintWriter.solve() {
    val n = nextInt()
    println(Array(n) { 1 }.joinToString(" "))
}

fun main() {
    Thread(null, {
        val writer = PrintWriter(System.out, false)
        writer.solve()
        writer.flush()
    }, "solve", abs(1L.shl(26)))
        .apply { setUncaughtExceptionHandler { _, e -> e.printStackTrace(); kotlin.system.exitProcess(1) } }
        .apply { start() }.join()
}

// 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
0