結果

問題 No.63 ポッキーゲーム
ユーザー リチウム
提出日時 2014-11-11 23:28:51
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 245 bytes
コンパイル時間 3,787 ms
コンパイル使用メモリ 73,932 KB
実行使用メモリ 56,048 KB
最終ジャッジ日時 2024-12-31 09:49:13
合計ジャッジ時間 7,603 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 14 WA * 8
権限があれば一括ダウンロードができます

ソースコード

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