結果

問題 No.1225 I hate I hate Matrix Construction
ユーザー _matumo__matumo_
提出日時 2021-02-22 13:35:46
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 122 bytes
コンパイル時間 246 ms
コンパイル使用メモリ 11,736 KB
実行使用メモリ 10,060 KB
最終ジャッジ日時 2023-10-21 10:02:45
合計ジャッジ時間 2,530 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,052 KB
testcase_01 AC 28 ms
10,052 KB
testcase_02 AC 29 ms
10,052 KB
testcase_03 AC 29 ms
10,052 KB
testcase_04 AC 28 ms
10,056 KB
testcase_05 AC 29 ms
10,052 KB
testcase_06 AC 29 ms
10,056 KB
testcase_07 AC 29 ms
10,052 KB
testcase_08 AC 29 ms
10,060 KB
testcase_09 AC 28 ms
10,056 KB
testcase_10 AC 31 ms
10,056 KB
testcase_11 AC 29 ms
10,056 KB
testcase_12 AC 28 ms
10,056 KB
testcase_13 AC 28 ms
10,052 KB
testcase_14 AC 29 ms
10,052 KB
testcase_15 AC 29 ms
10,056 KB
testcase_16 AC 29 ms
10,056 KB
testcase_17 AC 30 ms
10,056 KB
testcase_18 AC 29 ms
10,056 KB
testcase_19 AC 29 ms
10,056 KB
testcase_20 AC 28 ms
10,056 KB
testcase_21 AC 29 ms
10,056 KB
testcase_22 AC 29 ms
10,056 KB
testcase_23 AC 30 ms
10,056 KB
testcase_24 AC 30 ms
10,056 KB
testcase_25 AC 30 ms
10,056 KB
testcase_26 AC 29 ms
10,056 KB
testcase_27 AC 29 ms
10,052 KB
testcase_28 AC 29 ms
10,056 KB
testcase_29 AC 29 ms
10,056 KB
testcase_30 AC 29 ms
10,056 KB
testcase_31 AC 30 ms
10,056 KB
testcase_32 AC 30 ms
10,056 KB
testcase_33 AC 29 ms
10,056 KB
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
権限があれば一括ダウンロードができます

ソースコード

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+c)
print(n)
0