結果

問題 No.666 1000000007で割るだけ
ユーザー tsunabittsunabit
提出日時 2018-07-22 16:49:12
言語 Java21
(openjdk 21)
結果
AC  
実行時間 130 ms / 2,000 ms
コード長 323 bytes
コンパイル時間 3,382 ms
コンパイル使用メモリ 73,588 KB
実行使用メモリ 57,936 KB
最終ジャッジ日時 2023-08-27 00:54:54
合計ジャッジ時間 7,745 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,696 KB
testcase_01 AC 127 ms
55,672 KB
testcase_02 AC 128 ms
57,724 KB
testcase_03 AC 129 ms
55,840 KB
testcase_04 AC 127 ms
55,692 KB
testcase_05 AC 125 ms
55,704 KB
testcase_06 AC 130 ms
55,876 KB
testcase_07 AC 127 ms
55,504 KB
testcase_08 AC 124 ms
55,840 KB
testcase_09 AC 127 ms
55,772 KB
testcase_10 AC 127 ms
55,852 KB
testcase_11 AC 126 ms
55,968 KB
testcase_12 AC 129 ms
56,360 KB
testcase_13 AC 124 ms
57,936 KB
testcase_14 AC 124 ms
55,896 KB
testcase_15 AC 121 ms
56,000 KB
testcase_16 AC 124 ms
55,716 KB
testcase_17 AC 124 ms
55,600 KB
testcase_18 AC 125 ms
55,800 KB
testcase_19 AC 127 ms
56,048 KB
testcase_20 AC 125 ms
55,688 KB
testcase_21 AC 126 ms
55,932 KB
testcase_22 AC 126 ms
56,108 KB
testcase_23 AC 124 ms
55,604 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.util.stream.Stream;
import java.time.*;
import java.time.format.*;

public class No666 {
    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