結果
| 問題 | No.589 Counting Even |
| コンテスト | |
| ユーザー |
jilloperator
|
| 提出日時 | 2017-11-04 00:18:36 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 138 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 36,344 KB |
| 最終ジャッジ日時 | 2026-09-28 16:30:20 |
| 合計ジャッジ時間 | 12,965 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