結果

問題 No.1915 Addition
ユーザー ripityripity
提出日時 2022-05-04 23:02:34
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 274 ms / 2,000 ms
コード長 341 bytes
コンパイル時間 11,843 ms
コンパイル使用メモリ 407,676 KB
実行使用メモリ 50,628 KB
最終ジャッジ日時 2023-09-17 04:01:07
合計ジャッジ時間 16,929 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 265 ms
50,188 KB
testcase_01 AC 274 ms
50,208 KB
testcase_02 AC 270 ms
50,628 KB
testcase_03 AC 270 ms
50,396 KB
testcase_04 AC 265 ms
50,432 KB
testcase_05 AC 268 ms
50,264 KB
testcase_06 AC 273 ms
50,576 KB
testcase_07 AC 269 ms
50,252 KB
testcase_08 AC 270 ms
50,444 KB
testcase_09 AC 266 ms
50,256 KB
testcase_10 AC 264 ms
50,300 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:8:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

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

val pw = PrintWriter(System.out, false)
val br = System.`in`.bufferedReader()

fun main(args: Array<String>) {
    
    val T = br.readLine()!!.toInt()
    repeat(T) {solve()}
    pw.flush()
    
}

fun solve() {
    
    val N = br.readLine()!!.toLong();
    pw.println(N*8L)
    
}
0