結果
| 問題 |
No.1468 Colourful Pastel
|
| ユーザー |
|
| 提出日時 | 2021-05-18 15:05:52 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 62 ms / 1,000 ms |
| コード長 | 514 bytes |
| コンパイル時間 | 323 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 23,208 KB |
| 最終ジャッジ日時 | 2024-10-08 15:08:54 |
| 合計ジャッジ時間 | 2,476 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 25 |
ソースコード
import sys
sys.setrecursionlimit(10 ** 6)
stdin = sys.stdin
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().strip()
nsa = lambda: list(map(str, stdin.readline().split()))
ntp = lambda: tuple(map(int, stdin.readline().split()))
mod = 10 * 9 + 7
inf = 2 << 90
n = ni()
A = ns().split()
B = ns().split()
Dict = ('Red', 'Orange', 'Yellow', 'Green', 'Cyan', 'Blue', 'Violet')
for d in Dict:
if A.count(d) != B.count(d):
print(d)
exit()