結果
問題 |
No.1468 Colourful Pastel
|
ユーザー |
![]() |
提出日時 | 2022-07-03 21:04:34 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 112 ms / 1,000 ms |
コード長 | 276 bytes |
コンパイル時間 | 232 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 23,224 KB |
最終ジャッジ日時 | 2024-11-29 18:44:30 |
合計ジャッジ時間 | 2,363 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 25 |
ソースコード
n=int(input()) A=list(map(str,input().split())) B=list(map(str,input().split())) l1=[] l2=[] l=["Red","Orange","Yellow","Green","Cyan","Blue","Violet"] for x in l: l1.append(A.count(x)) l2.append(B.count(x)) for i in range(7): if l1[i]!=l2[i]: print(l[i])