結果
問題 |
No.1468 Colourful Pastel
|
ユーザー |
![]() |
提出日時 | 2022-07-03 21:03:47 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 295 bytes |
コンパイル時間 | 166 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 23,340 KB |
最終ジャッジ日時 | 2024-11-29 18:40:12 |
合計ジャッジ時間 | 2,206 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 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)) print(l1) print(l2) for i in range(7): if l1[i]!=l2[i]: print(l[i])