結果

問題 No.677 10^Nの約数
ユーザー hiro_ei1812
提出日時 2019-08-12 20:06:27
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
TLE  
実行時間 -
コード長 220 bytes
コンパイル時間 469 ms
コンパイル使用メモリ 59,088 KB
実行使用メモリ 10,404 KB
最終ジャッジ日時 2024-09-17 10:26:13
合計ジャッジ時間 5,933 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8 TLE * 1 -- * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>
using namespace std;

int main(){
	int in;
	int i,ans;

	cin>>in;

	ans=pow(10,in);

	for(i=1;i<=ans/2;i++){
		if(ans%i==0){
			cout<<i<<"\n";
		}
	}

	cout<<ans<<"\n";

	return 0;
}
0