結果

問題 No.677 10^Nの約数
ユーザー ohreitetsuohreitetsu
提出日時 2018-05-11 22:23:59
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 250 bytes
コンパイル時間 2,505 ms
コンパイル使用メモリ 63,908 KB
実行使用メモリ 8,764 KB
最終ジャッジ日時 2023-09-10 12:48:26
合計ジャッジ時間 5,337 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 TLE -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
}
0