結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2017-09-15 12:45:49 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 100 bytes |
| コンパイル時間 | 93 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-11-07 22:50:20 |
| 合計ジャッジ時間 | 5,018 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 WA * 13 |
コンパイルメッセージ
Syntax OK
ソースコード
n=gets.to_i i=1 ans=0 while i*i<n if n%i==0 then ans+=2 end i+=1 end ans+=1 if i*i==n puts ans
horiesiniti