結果
| 問題 | 
                            No.938 賢人を探せ
                             | 
                    
| コンテスト | |
| ユーザー | 
                             buriburi
                         | 
                    
| 提出日時 | 2019-12-03 11:53:55 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 368 bytes | 
| コンパイル時間 | 118 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,880 KB | 
| 最終ジャッジ日時 | 2024-11-26 22:10:07 | 
| 合計ジャッジ時間 | 2,058 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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