結果

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

ソースコード

diff #

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

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

	cin>>in;
	cout<<"\n";

	ans=pow(10,in);

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

	cout<<ans<<"\n";

	return 0;
}
0