結果

問題 No.666 1000000007で割るだけ
ユーザー GodNegotoGodNegoto
提出日時 2019-11-27 15:26:45
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 296 bytes
コンパイル時間 2,819 ms
コンパイル使用メモリ 74,872 KB
実行使用メモリ 54,524 KB
最終ジャッジ日時 2024-04-25 21:43:01
合計ジャッジ時間 6,467 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
54,104 KB
testcase_01 AC 117 ms
54,092 KB
testcase_02 AC 112 ms
53,032 KB
testcase_03 AC 122 ms
54,524 KB
testcase_04 AC 103 ms
52,976 KB
testcase_05 AC 117 ms
53,916 KB
testcase_06 AC 107 ms
53,064 KB
testcase_07 AC 104 ms
52,768 KB
testcase_08 AC 109 ms
52,864 KB
testcase_09 AC 120 ms
53,912 KB
testcase_10 AC 106 ms
53,084 KB
testcase_11 AC 106 ms
52,888 KB
testcase_12 AC 106 ms
53,048 KB
testcase_13 AC 120 ms
54,092 KB
testcase_14 AC 107 ms
53,432 KB
testcase_15 AC 122 ms
54,220 KB
testcase_16 AC 122 ms
53,912 KB
testcase_17 AC 118 ms
54,260 KB
testcase_18 AC 119 ms
54,328 KB
testcase_19 AC 106 ms
52,732 KB
testcase_20 AC 120 ms
54,020 KB
testcase_21 AC 106 ms
52,916 KB
testcase_22 AC 120 ms
54,132 KB
testcase_23 AC 120 ms
54,496 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package algo;

import java.util.ArrayList;
import java.util.Scanner;

import java.util.*;

public class sample7 {

	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