結果

問題 No.677 10^Nの約数
ユーザー sudo_yumsudo_yum
提出日時 2018-06-06 14:43:53
言語 Java21
(openjdk 21)
結果
TLE  
実行時間 -
コード長 388 bytes
コンパイル時間 1,959 ms
コンパイル使用メモリ 71,376 KB
実行使用メモリ 60,296 KB
最終ジャッジ日時 2023-09-12 22:43:47
合計ジャッジ時間 8,143 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
60,288 KB
testcase_01 AC 120 ms
55,744 KB
testcase_02 AC 122 ms
56,536 KB
testcase_03 AC 120 ms
56,304 KB
testcase_04 AC 122 ms
55,708 KB
testcase_05 AC 124 ms
56,104 KB
testcase_06 AC 139 ms
55,336 KB
testcase_07 AC 238 ms
54,480 KB
testcase_08 AC 1,232 ms
55,892 KB
testcase_09 TLE -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main{
  static StringBuilder sb = new StringBuilder("");
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long N = sc.nextLong();
    double jou = Math.pow(10.0,N);
    long joui = (long)jou;
    for (long i=1;i<=joui ;i++ ) {
      if (joui%i==0) {
        System.out.println(i);
      }else{

      }
    }
  }
}
0