結果

問題 No.63 ポッキーゲーム
ユーザー Ygg13_iRO
提出日時 2014-11-11 23:49:27
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 202 bytes
コンパイル時間 718 ms
コンパイル使用メモリ 58,188 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-12-31 09:52:57
合計ジャッジ時間 1,236 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>
using namespace std;

int main(){

	int L, K;

	cin >> L >> K;

	if ((L % 2 * K) <= 0)cout << "0" << endl;
	else{
		cout << K*(L / (2*K)) << endl;
	}
}
0