結果

問題 No.2007 Arbitrary Mod (Easy)
ユーザー sysnote8main
提出日時 2023-05-07 16:44:09
言語 Java
(openjdk 23)
結果
RE  
実行時間 -
コード長 380 bytes
コンパイル時間 3,138 ms
コンパイル使用メモリ 75,248 KB
実行使用メモリ 54,624 KB
最終ジャッジ日時 2024-11-24 16:07:39
合計ジャッジ時間 9,903 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 RE * 1
other AC * 10 WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Arbitrary_Mod_2007 {
    public static void log(Object obj) {
        System.out.println(obj.toString());
    }
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = 10000000;
        int h = (int) Math.floor(Math.pow(sc.nextInt(),sc.nextInt()));
        log(x);
        log(h%x);
    }
}
0