結果

問題 No.532 Possible or Impossible
ユーザー 💕💖💞💕💖💞
提出日時 2017-09-12 01:00:57
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 252 ms / 2,000 ms
コード長 157 bytes
コンパイル時間 9,762 ms
コンパイル使用メモリ 423,448 KB
実行使用メモリ 54,324 KB
最終ジャッジ日時 2024-04-30 15:55:37
合計ジャッジ時間 15,479 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 241 ms
54,240 KB
testcase_01 AC 242 ms
54,244 KB
testcase_02 AC 251 ms
54,284 KB
testcase_03 AC 240 ms
54,200 KB
testcase_04 AC 245 ms
54,276 KB
testcase_05 AC 248 ms
54,168 KB
testcase_06 AC 247 ms
54,276 KB
testcase_07 AC 241 ms
54,232 KB
testcase_08 AC 249 ms
54,324 KB
testcase_09 AC 247 ms
54,272 KB
testcase_10 AC 244 ms
54,116 KB
testcase_11 AC 245 ms
54,152 KB
testcase_12 AC 252 ms
54,164 KB
testcase_13 AC 241 ms
54,268 KB
testcase_14 AC 242 ms
54,256 KB
testcase_15 AC 241 ms
54,240 KB
testcase_16 AC 252 ms
54,304 KB
testcase_17 AC 243 ms
54,136 KB
testcase_18 AC 241 ms
54,164 KB
testcase_19 AC 241 ms
54,184 KB
testcase_20 AC 240 ms
54,156 KB
testcase_21 AC 242 ms
54,172 KB
testcase_22 AC 241 ms
54,116 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args : Array<String>) {
         ^

ソースコード

diff #

fun main(args : Array<String>) {
  val a = readLine()!!
  when {
    a == "1 0" || a =="2 0" -> "Impossible"
    else -> "Possible"
  }.let { println(it) }
}
0