結果

問題 No.1183 コイン遊び
ユーザー akitsugu777akitsugu777
提出日時 2020-12-11 14:36:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 165 bytes
コンパイル時間 178 ms
コンパイル使用メモリ 11,792 KB
実行使用メモリ 26,876 KB
最終ジャッジ日時 2023-10-20 01:28:34
合計ジャッジ時間 5,566 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

input()

C = ''
for i, j in zip(input().split(), input().split()):
    C += ['o', 'x'][i != j]
C = C.split('o')

c = 0
for i in C:
    c += [0, 1]['x' in i]
print(c)
0