結果
問題 | No.938 賢人を探せ |
ユーザー | KisaragiEffective |
提出日時 | 2019-12-03 23:17:40 |
言語 | Kotlin (1.9.10) |
結果 |
WA
|
実行時間 | - |
コード長 | 319 bytes |
コンパイル時間 | 11,620 ms |
コンパイル使用メモリ | 418,924 KB |
実行使用メモリ | 59,004 KB |
最終ジャッジ日時 | 2023-08-18 16:31:05 |
合計ジャッジ時間 | 22,588 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge12 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 571 ms
58,032 KB |
testcase_01 | WA | - |
testcase_02 | AC | 257 ms
52,696 KB |
testcase_03 | WA | - |
testcase_04 | AC | 253 ms
52,528 KB |
testcase_05 | AC | 252 ms
52,704 KB |
testcase_06 | AC | 245 ms
52,776 KB |
testcase_07 | AC | 245 ms
52,956 KB |
testcase_08 | AC | 416 ms
57,396 KB |
testcase_09 | AC | 416 ms
57,420 KB |
testcase_10 | AC | 250 ms
52,624 KB |
testcase_11 | AC | 406 ms
57,336 KB |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | WA | - |
testcase_21 | WA | - |
testcase_22 | AC | 528 ms
58,104 KB |
ソースコード
fun main() { val i = readLine()!!.toInt() val cheater = LinkedHashMap<String, String>(i) repeat(i) { val (c, d) = readLine()!!.split(" ") cheater[c] = d } cheater.values.forEach { // 被害者 if (cheater[it] == null) { println(it) } } }