結果
問題 | No.677 10^Nの約数 |
ユーザー | isimiya |
提出日時 | 2018-05-23 21:18:58 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 287 bytes |
コンパイル時間 | 784 ms |
コンパイル使用メモリ | 63,044 KB |
実行使用メモリ | 23,260 KB |
最終ジャッジ日時 | 2023-09-11 01:55:56 |
合計ジャッジ時間 | 6,185 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 54 ms
18,832 KB |
testcase_02 | AC | 55 ms
21,024 KB |
testcase_03 | AC | 55 ms
23,260 KB |
testcase_04 | AC | 55 ms
21,176 KB |
testcase_05 | AC | 56 ms
21,128 KB |
testcase_06 | AC | 65 ms
21,232 KB |
testcase_07 | AC | 163 ms
21,192 KB |
testcase_08 | AC | 1,132 ms
21,228 KB |
testcase_09 | TLE | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
ソースコード
using System; public class Classmiya { static void Main() { string stdin = Console.ReadLine(); Int64 N = Int64.Parse(stdin); if (N == 0) return; double d = Math.Pow(10,N); Int64 x = (Int64)d; for (Int64 i = 1; i <= x; i++){ if(x % i == 0)Console.WriteLine(i); } } }