結果

問題 No.99 ジャンピング駒
ユーザー liny_tailliny_tail
提出日時 2020-08-14 18:58:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 98 ms / 5,000 ms
コード長 120 bytes
コンパイル時間 163 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 21,844 KB
最終ジャッジ日時 2024-04-18 18:53:35
合計ジャッジ時間 1,238 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
19,924 KB
testcase_01 AC 81 ms
19,924 KB
testcase_02 AC 79 ms
19,668 KB
testcase_03 AC 73 ms
18,776 KB
testcase_04 AC 98 ms
21,844 KB
testcase_05 AC 67 ms
18,908 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input().strip())
X = [int(i) for i in input().strip().split(' ') if int(i) % 2 == 0]
print(abs(N - len(X) * 2))
0