結果
| 問題 | 
                            No.1468 Colourful Pastel
                             | 
                    
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-10-24 00:23:04 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 85 ms / 1,000 ms | 
| コード長 | 277 bytes | 
| コンパイル時間 | 145 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 17,872 KB | 
| 最終ジャッジ日時 | 2024-07-02 12:36:23 | 
| 合計ジャッジ時間 | 2,373 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 25 | 
ソースコード
from collections import Counter
n = int(input())
counter1 = Counter(input().split())
counter2 = Counter(input().split())
for color in ["Red", "Orange", "Yellow", "Green", "Cyan", "Blue", "Violet"]:
    if counter1[color] != counter2[color]:
        print(color)
        break