結果
| 問題 |
No.677 10^Nの約数
|
| ユーザー |
isimiya
|
| 提出日時 | 2018-05-23 21:18:58 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 287 bytes |
| コンパイル時間 | 988 ms |
| コンパイル使用メモリ | 102,912 KB |
| 実行使用メモリ | 23,168 KB |
| 最終ジャッジ日時 | 2024-06-28 16:27:43 |
| 合計ジャッジ時間 | 5,814 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 6 WA * 1 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);
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);
}
}
}
isimiya