結果
| 問題 | No.589 Counting Even |
| コンテスト | |
| ユーザー |
jilloperator
|
| 提出日時 | 2017-11-04 00:18:36 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 138 bytes |
| 記録 | |
| コンパイル時間 | 452 ms |
| コンパイル使用メモリ | 20,832 KB |
| 実行使用メモリ | 38,048 KB |
| 最終ジャッジ日時 | 2026-05-17 08:38:58 |
| 合計ジャッジ時間 | 22,170 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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