結果

問題 No.1225 I hate I hate Matrix Construction
ユーザー _matumo_
提出日時 2021-02-22 13:27:08
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 122 bytes
コンパイル時間 218 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-21 11:07:02
合計ジャッジ時間 2,458 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 19 WA * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
S=input()
T=input()
a=S.count('1')
b=S.count('2')
c=T.count('1')
d=T.count('2')
n=max(b*N+a,d*N+d)
print(n)
0