結果
| 問題 |
No.414 衝動
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-08-27 03:44:06 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 191 ms / 1,000 ms |
| コード長 | 66 bytes |
| コンパイル時間 | 46 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-11-15 09:05:57 |
| 合計ジャッジ時間 | 2,671 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
コンパイルメッセージ
Main.rb:1: warning: `*' interpreted as argument prefix Syntax OK
ソースコード
m=eval *$<;n=2.upto(10**6).find{|i|m%i==0}||1;puts '%d %d'%[n,m/n]