結果
| 問題 | No.237 作図可能性 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-12-16 09:42:39 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 2,000 ms |
| コード長 | 374 bytes |
| 記録 | |
| コンパイル時間 | 106 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 10,240 KB |
| 最終ジャッジ日時 | 2025-12-16 09:42:53 |
| 合計ジャッジ時間 | 2,192 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 28 |
ソースコード
x = [3, 5, 17, 257, 65537]
a = int(input())
s = 0
for i in range(30):
for j in range(32):
m = 1 << i
if j & 1:
m *= x[0]
if j & 2:
m *= x[1]
if j & 4:
m *= x[2]
if j & 8:
m *= x[3]
if j & 16:
m *= x[4]
if m > 2 and m <= a:
s += 1
print(s)