結果

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

ソースコード

diff #

N=int(input())
S=input()
T=input()
s=S.count('1')
t=T.count('1')
if '2' in S:n=N+s
elif'2'in T:n=N+t
else:n=max(s,t)
print(n)
0