結果
問題 | No.677 10^Nの約数 |
ユーザー | isimiya |
提出日時 | 2018-05-23 21:26:34 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 316 bytes |
コンパイル時間 | 785 ms |
コンパイル使用メモリ | 67,400 KB |
実行使用メモリ | 23,164 KB |
最終ジャッジ日時 | 2023-09-11 01:56:04 |
合計ジャッジ時間 | 5,787 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 55 ms
20,892 KB |
testcase_01 | AC | 56 ms
20,908 KB |
testcase_02 | AC | 55 ms
18,820 KB |
testcase_03 | AC | 56 ms
23,164 KB |
testcase_04 | AC | 55 ms
19,212 KB |
testcase_05 | AC | 56 ms
21,108 KB |
testcase_06 | AC | 61 ms
21,232 KB |
testcase_07 | AC | 113 ms
21,228 KB |
testcase_08 | AC | 630 ms
21,032 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); double d = Math.Pow(10,N); Int64 x = (Int64)d; Int64 xhalf = x / 2; for (Int64 i = 1; i <= xhalf; i++){ if(x % i == 0)Console.WriteLine(i); } Console.WriteLine(x); } }