結果
問題 |
No.938 賢人を探せ
|
ユーザー |
|
提出日時 | 2020-12-26 12:59:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 142 bytes |
コンパイル時間 | 97 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 27,072 KB |
最終ジャッジ日時 | 2024-09-24 16:09:16 |
合計ジャッジ時間 | 6,508 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 2 |
other | TLE * 1 -- * 20 |
ソースコード
n=int(input()) a=[] b=[] s='' for _ in [0]*n: i,j=input().split() a+=[j] b+=[i] for x in a: if x not in b: s+=x+'\n' b+=[x] print(s[:-1])