結果
| 問題 | No.938 賢人を探せ |
| コンテスト | |
| ユーザー |
Salmonize
|
| 提出日時 | 2020-04-17 21:42:41 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
TLE
不安定
|
| 実行時間 | - |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 62 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-09-09 15:28:15 |
| 合計ジャッジ時間 | 23,058 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 TLE * 3 |
ソースコード
n = int(input())
s = set()
l = list()
for _ in range(n):
a, b = input().split()
s.add(a)
if b not in l:
l.append(b)
for x in l:
if x not in s:
print(x)
Salmonize