結果
| 問題 | No.537 ユーザーID | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2020-06-02 01:48:54 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 19 ms / 2,000 ms | 
| コード長 | 298 bytes | 
| コンパイル時間 | 3,634 ms | 
| コンパイル使用メモリ | 199,868 KB | 
| 最終ジャッジ日時 | 2025-01-10 20:28:39 | 
| ジャッジサーバーID (参考情報) | judge3 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 32 | 
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
	cin.tie(0),ios::sync_with_stdio(false);
	int64_t n; cin>>n;
	set<string>st;
	for(int64_t i=1;i*i<=n;++i){
		if(n%i==0){
			st.insert(to_string(n/i)+to_string(i));
			st.insert(to_string(i)+to_string(n/i));
		}
	}
	cout<<st.size()<<"\n"s;
}
            
            
            
        