結果
問題 |
No.677 10^Nの約数
|
ユーザー |
![]() |
提出日時 | 2019-01-21 20:49:28 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 355 bytes |
コンパイル時間 | 1,574 ms |
コンパイル使用メモリ | 173,648 KB |
実行使用メモリ | 13,756 KB |
最終ジャッジ日時 | 2024-09-15 13:14:46 |
合計ジャッジ時間 | 7,124 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 TLE * 1 -- * 1 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ll N; cin >> N; N = pow(10,N); set<ll> res; for (ll i = 1; i * i <= N; ++i){ if(N % i != 0)continue; res.insert(i); res.insert(N / i); } for (auto e : res){ cout << e << "\n"; } return 0; }