結果

問題 No.677 10^Nの約数
ユーザー No
提出日時 2018-04-27 23:04:42
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 429 bytes
コンパイル時間 996 ms
コンパイル使用メモリ 102,272 KB
実行使用メモリ 22,912 KB
最終ジャッジ日時 2024-06-27 22:11:11
合計ジャッジ時間 5,834 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 7 TLE * 1 -- * 9
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;

namespace y
{
    class Program
    {
        static void Main(string[] args)
        {
            long a = (long)Math.Pow(10, int.Parse(Console.ReadLine()));
            for (int i = 1; i <= a / 2; i++)
            {
                if (a % i == 0)
                {
                    Console.WriteLine(i);
                }
            }
        }
    }
}
0