結果

問題 No.677 10^Nの約数
ユーザー tomato5515
提出日時 2018-06-18 15:10:54
言語 Rust
(1.83.0 + proconio)
結果
WA  
実行時間 -
コード長 343 bytes
コンパイル時間 13,241 ms
コンパイル使用メモリ 402,956 KB
実行使用メモリ 13,752 KB
最終ジャッジ日時 2024-06-30 16:55:57
合計ジャッジ時間 25,694 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7 WA * 4 TLE * 4 -- * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

fn main(){
    let s = getline();
    let num:i32 = s.trim().parse().unwrap();
    let n:i32 = 10_i32.pow(num as u32);
    for i in 1..(((n+1)/2)+1) {
        if n % i == 0 { println!("{}", i); }
    }
    println!("{}", n);
}
fn getline() -> String{
	let mut __ret=String::new();
	std::io::stdin().read_line(&mut __ret).ok();
	return __ret;
}
0