結果

問題 No.128 お年玉(1)
ユーザー AoiroFukurouAoiroFukurou
提出日時 2015-01-25 14:00:27
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 339 bytes
コンパイル時間 3,450 ms
コンパイル使用メモリ 74,664 KB
実行使用メモリ 57,988 KB
最終ジャッジ日時 2024-04-08 17:50:15
合計ジャッジ時間 7,674 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 138 ms
57,724 KB
testcase_01 AC 138 ms
57,712 KB
testcase_02 AC 135 ms
57,860 KB
testcase_03 AC 136 ms
57,836 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 137 ms
57,588 KB
testcase_07 WA -
testcase_08 AC 137 ms
57,840 KB
testcase_09 WA -
testcase_10 AC 142 ms
57,908 KB
testcase_11 AC 144 ms
57,580 KB
testcase_12 AC 137 ms
57,568 KB
testcase_13 AC 140 ms
57,564 KB
testcase_14 AC 135 ms
57,712 KB
testcase_15 AC 134 ms
57,700 KB
testcase_16 AC 133 ms
57,840 KB
testcase_17 AC 139 ms
57,724 KB
testcase_18 AC 138 ms
57,836 KB
testcase_19 AC 135 ms
57,684 KB
testcase_20 AC 135 ms
57,552 KB
testcase_21 AC 135 ms
57,572 KB
testcase_22 AC 136 ms
57,724 KB
testcase_23 AC 139 ms
57,716 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package j_25;

import java.util.Scanner;

public class FizzBuzz {
public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	long N = sc.nextLong();
	int M = sc.nextInt();
	if(N>1 && N<(Math.pow(10, 16)) && M >1 && (Math.pow(10, 4)) > M){
		long O = (N / (M * 1000)) * 1000;
		System.out.println(O);
	}else{
		
	}
}
}
0