結果
問題 |
No.312 置換処理
|
ユーザー |
![]() |
提出日時 | 2015-12-07 15:56:31 |
言語 | D (dmd 2.109.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 269 bytes |
コンパイル時間 | 707 ms |
コンパイル使用メモリ | 97,852 KB |
実行使用メモリ | 15,808 KB |
最終ジャッジ日時 | 2024-06-12 02:49:20 |
合計ジャッジ時間 | 7,104 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | TLE * 1 -- * 44 |
ソースコード
import std.stdio, std.conv, std.string, std.math; void main() { ulong n = readln.chomp.to!ulong; ulong res = n; for(ulong cnt = n; cnt > 2; cnt--){ if(n % cnt == 0){ res = cnt; } } res.writeln; }