結果
| 問題 | No.1468 Colourful Pastel |
| ユーザー |
|
| 提出日時 | 2021-10-09 20:19:14 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 142 ms / 1,000 ms |
| コード長 | 360 bytes |
| 記録 | |
| コンパイル時間 | 756 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 26,388 KB |
| 最終ジャッジ日時 | 2026-04-04 04:25:08 |
| 合計ジャッジ時間 | 4,094 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)