結果

問題 No.128 お年玉(1)
ユーザー Tsukasa_TypeTsukasa_Type
提出日時 2018-02-09 14:51:18
言語 Java21
(openjdk 21)
結果
AC  
実行時間 148 ms / 5,000 ms
コード長 223 bytes
コンパイル時間 2,915 ms
コンパイル使用メモリ 73,952 KB
実行使用メモリ 58,216 KB
最終ジャッジ日時 2024-04-08 19:24:44
合計ジャッジ時間 7,410 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 144 ms
58,204 KB
testcase_01 AC 145 ms
57,716 KB
testcase_02 AC 144 ms
57,672 KB
testcase_03 AC 144 ms
58,200 KB
testcase_04 AC 147 ms
57,776 KB
testcase_05 AC 144 ms
58,068 KB
testcase_06 AC 146 ms
58,168 KB
testcase_07 AC 143 ms
57,940 KB
testcase_08 AC 148 ms
57,684 KB
testcase_09 AC 145 ms
57,700 KB
testcase_10 AC 142 ms
57,708 KB
testcase_11 AC 147 ms
58,216 KB
testcase_12 AC 143 ms
57,716 KB
testcase_13 AC 145 ms
57,940 KB
testcase_14 AC 141 ms
57,704 KB
testcase_15 AC 145 ms
57,812 KB
testcase_16 AC 146 ms
57,728 KB
testcase_17 AC 144 ms
56,132 KB
testcase_18 AC 142 ms
57,828 KB
testcase_19 AC 145 ms
57,936 KB
testcase_20 AC 142 ms
57,804 KB
testcase_21 AC 145 ms
58,192 KB
testcase_22 AC 142 ms
57,832 KB
testcase_23 AC 140 ms
57,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		long a = sc.nextLong();
		long b = sc.nextLong()*1000;
		System.out.println((a/b)*1000);
	}
}
0