結果

問題 No.63 ポッキーゲーム
ユーザー Daisuke Sasakawa
提出日時 2022-11-10 00:00:24
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 174 bytes
コンパイル時間 1,395 ms
コンパイル使用メモリ 27,392 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-23 04:47:07
合計ジャッジ時間 1,133 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main(void) {
	int K, L;
	int i;
	scanf("%d%d",&L,&K);
	
	i = L/(2*K);
	
	if (i==1){
		printf("%d", 0);
	}
	else{
		printf("%d", i*K);
	}	
	return 0;
}
0