結果
| 問題 | No.938 賢人を探せ |
| コンテスト | |
| ユーザー |
buriburi
|
| 提出日時 | 2019-12-03 11:53:55 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 368 bytes |
| 記録 | |
| コンパイル時間 | 365 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 20,608 KB |
| 最終ジャッジ日時 | 2026-05-21 06:22:24 |
| 合計ジャッジ時間 | 7,335 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 21 |
ソースコード
students = {}
num = int(input())
for k in num:
line = input().split()
cheater = line[0]
writer = line[1]
if not cheater in students:
students[cheater] = True
else:
students[cheater] = True
if not writer in students:
students[writer] = False
for key, value in students.iteritems():
if value:
print(key)
buriburi