結果
問題 | No.677 10^Nの約数 |
ユーザー |
|
提出日時 | 2018-05-11 22:25:57 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 266 bytes |
コンパイル時間 | 689 ms |
コンパイル使用メモリ | 64,000 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-06-28 04:07:30 |
合計ジャッジ時間 | 4,562 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 TLE * 1 -- * 9 |
ソースコード
#include <iostream> using namespace std; typedef long long LL; int main(int argc, char* argv[]) { int N; cin>>N; LL n=1; for (int i=1;i<=N;i++){ n*=10; } LL n1=n/2; for (LL i=1;i<=n1;i++){ if (n%i==0){ cout<<i<<endl; } } cout<<n<<endl; return 0; }