結果
| 問題 |
No.237 作図可能性
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-17 23:11:23 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 267 bytes |
| コンパイル時間 | 202 ms |
| コンパイル使用メモリ | 82,664 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2024-11-15 18:02:44 |
| 合計ジャッジ時間 | 2,353 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 28 |
ソースコード
Fe = [3, 5, 17, 257, 65537]
A = int(input())
ans = 0
x = 4
while x <= A:
ans += 1
x *= 2
for bit in range(1, 1 << 5):
x = 1
for i in range(5):
if bit >> i & 1:
x *= Fe[i]
while x <= A:
ans += 1
x *= 2
print(ans)