結果
問題 |
No.677 10^Nの約数
|
ユーザー |
|
提出日時 | 2018-06-15 14:19:29 |
言語 | Rust (1.83.0 + proconio) |
結果 |
WA
|
実行時間 | - |
コード長 | 276 bytes |
コンパイル時間 | 12,000 ms |
コンパイル使用メモリ | 383,896 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-30 14:48:30 |
合計ジャッジ時間 | 12,982 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 17 |
ソースコード
fn main(){ let s = getline(); let num:i32 = s.trim().parse().unwrap(); for i in 1..(num+1) { if num % i == 0 { println!("{}", i); } } } fn getline() -> String{ let mut __ret=String::new(); std::io::stdin().read_line(&mut __ret).ok(); return __ret; }