結果
問題 | No.677 10^Nの約数 |
ユーザー |
|
提出日時 | 2018-05-11 22:23:59 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 250 bytes |
コンパイル時間 | 743 ms |
コンパイル使用メモリ | 63,488 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-28 04:06:38 |
合計ジャッジ時間 | 5,374 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 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; } } return 0; }