結果
| 問題 |
No.589 Counting Even
|
| コンテスト | |
| ユーザー |
jilloperator
|
| 提出日時 | 2017-11-04 00:18:36 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 138 bytes |
| コンパイル時間 | 163 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 44,696 KB |
| 最終ジャッジ日時 | 2024-11-23 15:29:22 |
| 合計ジャッジ時間 | 20,424 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 29 |
ソースコード
from scipy.misc import comb
n = int(input())
count = 0
for i in range(1,n+1):
if comb(n, i) % 2 == 0:
count += 1
print(count)
jilloperator