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