結果

問題 No.63 ポッキーゲーム
ユーザー sekiya9311
提出日時 2016-04-29 19:02:28
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 149 bytes
コンパイル時間 634 ms
コンパイル使用メモリ 62,720 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-04 17:49:22
合計ジャッジ時間 1,430 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 15 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;

int main(void){
    int L,K; cin>>L>>K;
    if(L<=2*K) cout<<0<<endl;
    else cout<<(L/(K*2))*K<<endl;
}
0