結果
問題 | No.63 ポッキーゲーム |
ユーザー |
![]() |
提出日時 | 2019-08-31 21:19:50 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 191 ms / 5,000 ms |
コード長 | 186 bytes |
コンパイル時間 | 573 ms |
コンパイル使用メモリ | 63,828 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-25 07:55:15 |
合計ジャッジ時間 | 1,991 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include <iostream>using namespace std;int main(){int l,k,ans=0;cin>>l>>k;while(l-(2*k)>0){ans+=k;l-=(2*k);}cout<<ans<<endl;return 0;}