結果

問題 No.524 コインゲーム
ユーザー 💕💖💞💕💖💞
提出日時 2017-09-10 05:40:12
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 267 ms / 1,000 ms
コード長 145 bytes
コンパイル時間 10,401 ms
コンパイル使用メモリ 421,948 KB
実行使用メモリ 54,420 KB
最終ジャッジ日時 2024-04-30 15:50:58
合計ジャッジ時間 18,314 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 239 ms
54,312 KB
testcase_01 AC 244 ms
54,244 KB
testcase_02 AC 237 ms
54,308 KB
testcase_03 AC 246 ms
54,136 KB
testcase_04 AC 253 ms
54,256 KB
testcase_05 AC 256 ms
54,284 KB
testcase_06 AC 245 ms
54,140 KB
testcase_07 AC 246 ms
54,084 KB
testcase_08 AC 243 ms
54,252 KB
testcase_09 AC 244 ms
54,348 KB
testcase_10 AC 243 ms
54,256 KB
testcase_11 AC 251 ms
54,156 KB
testcase_12 AC 267 ms
54,292 KB
testcase_13 AC 248 ms
54,248 KB
testcase_14 AC 241 ms
54,312 KB
testcase_15 AC 244 ms
54,172 KB
testcase_16 AC 244 ms
54,164 KB
testcase_17 AC 241 ms
54,288 KB
testcase_18 AC 241 ms
54,144 KB
testcase_19 AC 245 ms
54,140 KB
testcase_20 AC 244 ms
54,156 KB
testcase_21 AC 239 ms
54,168 KB
testcase_22 AC 242 ms
54,136 KB
testcase_23 AC 240 ms
54,420 KB
testcase_24 AC 242 ms
54,160 KB
testcase_25 AC 244 ms
54,420 KB
testcase_26 AC 257 ms
54,120 KB
testcase_27 AC 241 ms
54,300 KB
testcase_28 AC 245 ms
54,176 KB
testcase_29 AC 242 ms
54,240 KB
testcase_30 AC 238 ms
54,272 KB
testcase_31 AC 240 ms
54,268 KB
testcase_32 AC 244 ms
54,164 KB
testcase_33 AC 241 ms
54,284 KB
testcase_34 AC 248 ms
54,272 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:11: warning: parameter 'args' is never used
fun main( args : Array<String> ) {
          ^

ソースコード

diff #

fun main( args : Array<String> ) {
  val nim = readLine()!!.toLong() % 4L
  when {
    nim == 3L -> "X"
    else -> "O"
  }.let { println(it) }
}
0