結果

問題 No.666 1000000007で割るだけ
ユーザー bellbell
提出日時 2021-02-23 23:54:58
言語 Java21
(openjdk 21)
結果
AC  
実行時間 131 ms / 2,000 ms
コード長 243 bytes
コンパイル時間 4,835 ms
コンパイル使用メモリ 79,936 KB
実行使用メモリ 57,724 KB
最終ジャッジ日時 2023-10-24 01:32:07
合計ジャッジ時間 7,666 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 130 ms
57,476 KB
testcase_01 AC 130 ms
57,512 KB
testcase_02 AC 117 ms
56,292 KB
testcase_03 AC 125 ms
57,528 KB
testcase_04 AC 127 ms
57,216 KB
testcase_05 AC 129 ms
57,388 KB
testcase_06 AC 128 ms
57,724 KB
testcase_07 AC 131 ms
57,584 KB
testcase_08 AC 129 ms
57,192 KB
testcase_09 AC 128 ms
57,716 KB
testcase_10 AC 130 ms
57,424 KB
testcase_11 AC 128 ms
57,380 KB
testcase_12 AC 125 ms
57,260 KB
testcase_13 AC 130 ms
57,396 KB
testcase_14 AC 128 ms
55,568 KB
testcase_15 AC 128 ms
57,616 KB
testcase_16 AC 130 ms
57,384 KB
testcase_17 AC 128 ms
57,448 KB
testcase_18 AC 129 ms
57,432 KB
testcase_19 AC 127 ms
57,444 KB
testcase_20 AC 128 ms
57,556 KB
testcase_21 AC 128 ms
57,544 KB
testcase_22 AC 128 ms
57,488 KB
testcase_23 AC 127 ms
57,408 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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);
		
		sc.close();
	}
}
0