結果
| 問題 | No.312 置換処理 |
| コンテスト | |
| ユーザー |
sue_charo
|
| 提出日時 | 2017-04-13 18:59:59 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 237 bytes |
| 記録 | |
| コンパイル時間 | 74 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-07-18 12:57:12 |
| 合計ジャッジ時間 | 3,553 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 32 WA * 7 RE * 6 |
ソースコード
# coding: utf-8
import math
N = int(input())
num = 3
while True:
if N % num == 0:
break
if num > math.sqrt(N):
if N % 2 == 0:
num = n // 2
else:
break
num += 1
print(num)
sue_charo