結果
問題 | No.63 ポッキーゲーム |
ユーザー |
|
提出日時 | 2020-06-15 21:12:01 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 313 bytes |
コンパイル時間 | 1,464 ms |
コンパイル使用メモリ | 165,864 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-03 11:33:21 |
合計ジャッジ時間 | 2,341 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 WA * 9 |
ソースコード
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; typedef long long ll; int main(){ int l, k; cin >> l >> k; int x = k * 2; if(l / x > 1){ int a = l / x; cout << k * a << endl; }else{ cout << 0 << endl; } return 0; }