結果
問題 | No.99 ジャンピング駒 |
ユーザー |
![]() |
提出日時 | 2020-03-31 16:48:57 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 89 ms / 5,000 ms |
コード長 | 161 bytes |
コンパイル時間 | 87 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 21,720 KB |
最終ジャッジ日時 | 2024-06-24 20:19:19 |
合計ジャッジ時間 | 1,229 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
ソースコード
import sysinput=lambda: sys.stdin.readline().rstrip()n=int(input())X=[int(i) for i in input().split()]e=0for x in X:if x%2==0:e+=1print(abs(n-2*e))