結果
| 問題 | No.537 ユーザーID |
| コンテスト | |
| ユーザー |
ldsyb
|
| 提出日時 | 2017-06-30 22:36:45 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 5 ms / 2,000 ms |
| + 680µs | |
| コード長 | 286 bytes |
| 記録 | |
| コンパイル時間 | 463 ms |
| コンパイル使用メモリ | 86,752 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-10 07:36:26 |
| 合計ジャッジ時間 | 2,336 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 32 |
ソースコード
#include <iostream>
#include <set>
using namespace std;
int main(){
set<string> st;
int64_t n;
cin >> n;
for(int64_t i = 1; i * i <= n; i++) if(n % i == 0){
st.insert(to_string(i) + to_string(n / i));
st.insert(to_string(n / i) + to_string(i));
}
cout << st.size() << endl;
}
ldsyb