結果

問題 No.537 ユーザーID
ユーザー ID 21712
提出日時 2025-01-13 00:27:09
言語 Go
(1.23.4)
結果
AC  
実行時間 17 ms / 2,000 ms
コード長 238 bytes
コンパイル時間 18,830 ms
コンパイル使用メモリ 232,332 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2025-01-13 00:27:30
合計ジャッジ時間 15,534 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 32
権限があれば一括ダウンロードができます

ソースコード

diff #

package main

import . "fmt"

func main() {
	var n int64
	Scan(&n)
	t:=map[string]bool{}
	for i:=int64(1); i*i<=n; i++ {
		if n%i != 0 {
			continue
		}
		t[Sprintf("%d%d",i,n/i)]=true
		t[Sprintf("%d%d",n/i,i)]=true
	}
	Println(len(t))
}
0