結果
問題 |
No.677 10^Nの約数
|
ユーザー |
![]() |
提出日時 | 2018-10-07 22:56:39 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 190 bytes |
コンパイル時間 | 691 ms |
コンパイル使用メモリ | 54,104 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-10-12 14:20:57 |
合計ジャッジ時間 | 4,977 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | WA * 14 TLE * 1 -- * 2 |
ソースコード
#include<iostream> using namespace std; int main(){ int N; cin>>N; int a=1; for(int i=1;i<=(N/2+1);i++) a*=10; for(int i=1;i<=a;i++){ if(a%i==0) cout<<i<<endl; } return 0; }