結果
| 問題 | No.938 賢人を探せ |
| コンテスト | |
| ユーザー |
nep_pudding3
|
| 提出日時 | 2019-12-02 00:17:02 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 57 ms / 2,000 ms |
| + 516µs | |
| コード長 | 203 bytes |
| 記録 | |
| コンパイル時間 | 406 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 13,984 KB |
| 最終ジャッジ日時 | 2026-10-03 11:07:27 |
| 合計ジャッジ時間 | 3,025 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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