結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2017-09-15 12:47:59 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 149 ms / 2,000 ms |
| コード長 | 127 bytes |
| コンパイル時間 | 53 ms |
| コンパイル使用メモリ | 7,680 KB |
| 実行使用メモリ | 12,672 KB |
| 最終ジャッジ日時 | 2024-11-07 22:50:30 |
| 合計ジャッジ時間 | 4,985 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 32 |
コンパイルメッセージ
Syntax OK
ソースコード
h={}
n=gets.to_i
i=1
while i*i<=n
if n%i==0 then
h[i.to_s+(n/i).to_s]=1
h[(n/i).to_s+i.to_s]=1
end
i+=1
end
puts h.size
horiesiniti