結果
| 問題 |
No.938 賢人を探せ
|
| コンテスト | |
| ユーザー |
nep_pudding3
|
| 提出日時 | 2019-12-02 00:17:02 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 105 ms / 2,000 ms |
| コード長 | 203 bytes |
| コンパイル時間 | 523 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 13,728 KB |
| 最終ジャッジ日時 | 2024-12-14 11:45:52 |
| 合計ジャッジ時間 | 2,801 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 |
ソースコード
N = int(input())
student = {}
for i in range(N):
a,b = input().split()
student[a] = 0
if student.get(b) == None:
student[b] = 1
for a,b in student.items():
if b :
print(a)
nep_pudding3