結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,136 KB
testcase_01 AC 29 ms
10,136 KB
testcase_02 AC 29 ms
10,136 KB
testcase_03 WA -
testcase_04 AC 28 ms
10,140 KB
testcase_05 AC 29 ms
10,136 KB
testcase_06 AC 29 ms
10,140 KB
testcase_07 WA -
testcase_08 AC 29 ms
10,144 KB
testcase_09 AC 28 ms
10,140 KB
testcase_10 AC 29 ms
10,140 KB
testcase_11 AC 28 ms
10,140 KB
testcase_12 AC 29 ms
10,140 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 29 ms
10,140 KB
testcase_24 AC 29 ms
10,140 KB
testcase_25 AC 28 ms
10,140 KB
testcase_26 AC 28 ms
10,140 KB
testcase_27 WA -
testcase_28 AC 28 ms
10,140 KB
testcase_29 AC 28 ms
10,140 KB
testcase_30 AC 28 ms
10,140 KB
testcase_31 AC 29 ms
10,140 KB
testcase_32 AC 28 ms
10,140 KB
testcase_33 AC 28 ms
10,140 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+d)
print(n)
0