結果

問題 No.63 ポッキーゲーム
ユーザー リチウムリチウム
提出日時 2014-11-11 23:28:51
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 245 bytes
コンパイル時間 3,628 ms
コンパイル使用メモリ 72,320 KB
実行使用メモリ 56,332 KB
最終ジャッジ日時 2023-08-30 03:12:25
合計ジャッジ時間 7,458 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,608 KB
testcase_01 AC 128 ms
55,576 KB
testcase_02 AC 127 ms
55,780 KB
testcase_03 AC 125 ms
55,700 KB
testcase_04 WA -
testcase_05 AC 125 ms
53,732 KB
testcase_06 AC 126 ms
55,812 KB
testcase_07 AC 126 ms
55,804 KB
testcase_08 AC 126 ms
55,720 KB
testcase_09 AC 126 ms
55,872 KB
testcase_10 AC 128 ms
55,768 KB
testcase_11 AC 130 ms
55,680 KB
testcase_12 AC 129 ms
55,620 KB
testcase_13 WA -
testcase_14 AC 127 ms
55,844 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 128 ms
55,400 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class ok{
	public static void main(String[] args) {
		Scanner sc=new Scanner (System.in);
		int L=sc.nextInt();
		int K=sc.nextInt();
		int ans=0;
		ans=L/(K*2);
		ans*=K;
		
		System.out.println(ans);
	}}
0