結果
| 問題 | No.312 置換処理 |
| コンテスト | |
| ユーザー |
ヒッキープログラミングスレ
|
| 提出日時 | 2015-12-07 21:07:44 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 185 bytes |
| 記録 | |
| コンパイル時間 | 286 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 15,996 KB |
| 最終ジャッジ日時 | 2026-08-27 08:43:14 |
| 合計ジャッジ時間 | 7,285 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 44 WA * 1 |
ソースコード
def solve(): from math import sqrt n = int(input()) x = 3 while x <= sqrt(n): if n % x == 0: print(x) return x += 1 print(int(n / 2) if n % 2 == 0 else n) solve()
ヒッキープログラミングスレ