結果

問題 No.666 1000000007で割るだけ
ユーザー asahi32942398asahi32942398
提出日時 2018-04-28 14:37:31
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 255 bytes
コンパイル時間 2,127 ms
コンパイル使用メモリ 71,088 KB
実行使用メモリ 56,348 KB
最終ジャッジ日時 2023-09-10 07:47:41
合計ジャッジ時間 6,758 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
55,732 KB
testcase_01 AC 120 ms
53,984 KB
testcase_02 AC 124 ms
55,968 KB
testcase_03 AC 123 ms
55,896 KB
testcase_04 AC 121 ms
55,824 KB
testcase_05 AC 121 ms
56,256 KB
testcase_06 AC 125 ms
55,908 KB
testcase_07 AC 124 ms
55,692 KB
testcase_08 AC 122 ms
55,760 KB
testcase_09 AC 120 ms
55,764 KB
testcase_10 AC 120 ms
56,036 KB
testcase_11 AC 120 ms
55,972 KB
testcase_12 AC 123 ms
55,928 KB
testcase_13 AC 125 ms
55,888 KB
testcase_14 AC 120 ms
55,820 KB
testcase_15 AC 121 ms
55,536 KB
testcase_16 AC 121 ms
55,888 KB
testcase_17 AC 121 ms
55,528 KB
testcase_18 AC 118 ms
55,696 KB
testcase_19 AC 121 ms
56,076 KB
testcase_20 AC 115 ms
56,348 KB
testcase_21 AC 117 ms
55,996 KB
testcase_22 AC 114 ms
55,796 KB
testcase_23 AC 121 ms
55,764 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long A = sc.nextLong();
         long B = sc.nextLong();
         System.out.println(A*B%1000000007);
        
    }
}
0