結果
問題 | No.99 ジャンピング駒 |
ユーザー |
![]() |
提出日時 | 2021-08-03 13:49:28 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 67 ms / 5,000 ms |
コード長 | 141 bytes |
コンパイル時間 | 818 ms |
コンパイル使用メモリ | 82,556 KB |
実行使用メモリ | 84,352 KB |
最終ジャッジ日時 | 2024-09-16 14:56:12 |
合計ジャッジ時間 | 2,209 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
ソースコード
N = input()X = list(map(int,input().split()))temp = 0for x in X:if x%2==0:temp+=1else:temp-=1print(abs(temp))