結果

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

ソースコード

diff #

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

int main(){
	int in;
	int i;
	unsigned long 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