結果
問題 |
No.1468 Colourful Pastel
|
ユーザー |
|
提出日時 | 2021-10-09 20:19:14 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 121 ms / 1,000 ms |
コード長 | 360 bytes |
コンパイル時間 | 133 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 23,348 KB |
最終ジャッジ日時 | 2024-09-13 09:11:29 |
合計ジャッジ時間 | 2,242 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 25 |
ソースコード
N = int(input()) k1 = {x:0 for x in ['Red','Orange','Yellow','Green','Cyan','Blue','Violet']} k2 = {x:0 for x in ['Red','Orange','Yellow','Green','Cyan','Blue','Violet']} A = list(map(str,input().split())) B = list(map(str,input().split())) for a in A:k1[a]+=1 for b in B:k2[b]+=1 for (i1,x1),(i2,x2) in zip(k1.items(),k2.items()): if x1!=x2:print(i1)