結果
| 問題 | No.537 ユーザーID | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2019-03-13 16:45:53 | 
| 言語 | JavaScript (node v23.5.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 101 ms / 2,000 ms | 
| コード長 | 265 bytes | 
| コンパイル時間 | 102 ms | 
| コンパイル使用メモリ | 6,820 KB | 
| 実行使用メモリ | 44,672 KB | 
| 最終ジャッジ日時 | 2024-10-13 01:02:01 | 
| 合計ジャッジ時間 | 3,727 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 32 | 
ソースコード
const N = +require('fs').readFileSync('/dev/stdin', 'utf8');
const arr = [];
for (let i = 1; i <= Math.sqrt(N); i++) {
  if (N % i == 0) {
    arr.push(String(i) + String(N / i));
    arr.push(String(N / i) + String(i));
  }
}
console.log([...new Set(arr)].length);
            
            
            
        