結果

問題 No.63 ポッキーゲーム
ユーザー mewmew
提出日時 2017-03-01 23:24:31
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 317 bytes
コンパイル時間 416 ms
コンパイル使用メモリ 59,076 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-12 22:48:03
合計ジャッジ時間 1,277 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 14 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#define REP(i,n) for(int i=0;i<(n);++i)
#define SORT(a) sort((a).begin(),(a).end())
#define PB push_back
using namespace std;
typedef vector<int> VI;

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