結果
問題 | No.63 ポッキーゲーム |
ユーザー |
![]() |
提出日時 | 2018-01-30 16:21:26 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 204 bytes |
コンパイル時間 | 645 ms |
コンパイル使用メモリ | 62,312 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-29 21:36:09 |
合計ジャッジ時間 | 1,448 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include<iostream> #include<vector> #include<algorithm> #include<cstdio> #include<cmath> using namespace std; int main(){ long long L,K; cin >> L >> K; cout << ((L-1)/(2*K))*K; return 0; }