結果

問題 No.666 1000000007で割るだけ
ユーザー Mcpu3Mcpu3
提出日時 2018-06-22 02:12:40
言語 Java21
(openjdk 21)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 228 bytes
コンパイル時間 1,826 ms
コンパイル使用メモリ 71,132 KB
実行使用メモリ 56,284 KB
最終ジャッジ日時 2023-09-13 07:49:22
合計ジャッジ時間 5,932 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
56,004 KB
testcase_01 AC 121 ms
56,124 KB
testcase_02 AC 119 ms
56,284 KB
testcase_03 AC 119 ms
55,796 KB
testcase_04 AC 121 ms
55,720 KB
testcase_05 AC 119 ms
55,944 KB
testcase_06 AC 119 ms
56,236 KB
testcase_07 AC 118 ms
55,404 KB
testcase_08 AC 118 ms
55,768 KB
testcase_09 AC 119 ms
56,008 KB
testcase_10 AC 117 ms
55,720 KB
testcase_11 AC 119 ms
55,824 KB
testcase_12 AC 120 ms
55,696 KB
testcase_13 AC 120 ms
54,256 KB
testcase_14 AC 120 ms
55,772 KB
testcase_15 AC 120 ms
55,932 KB
testcase_16 AC 121 ms
55,448 KB
testcase_17 AC 119 ms
55,948 KB
testcase_18 AC 120 ms
55,880 KB
testcase_19 AC 119 ms
56,124 KB
testcase_20 AC 118 ms
55,956 KB
testcase_21 AC 118 ms
55,804 KB
testcase_22 AC 119 ms
55,984 KB
testcase_23 AC 119 ms
55,724 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class no666{
	public static void main(String[] args) {
		Scanner stdIn=new Scanner(System.in);
		long a,b;
		a=stdIn.nextLong();
		b=stdIn.nextLong();
		System.out.print(a*b%1000000007);
	}
}
0