結果
問題 |
No.677 10^Nの約数
|
ユーザー |
![]() |
提出日時 | 2018-05-23 21:26:34 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 316 bytes |
コンパイル時間 | 1,081 ms |
コンパイル使用メモリ | 108,384 KB |
実行使用メモリ | 29,428 KB |
最終ジャッジ日時 | 2024-06-28 16:27:58 |
合計ジャッジ時間 | 5,273 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 TLE * 1 -- * 9 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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); } }