結果
| 問題 |
No.63 ポッキーゲーム
|
| コンテスト | |
| ユーザー |
IRXGCGySDjxVBhf
|
| 提出日時 | 2021-11-14 09:00:56 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 186 bytes |
| コンパイル時間 | 1,577 ms |
| コンパイル使用メモリ | 167,140 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-29 06:38:44 |
| 合計ジャッジ時間 | 4,233 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 22 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main()
{
int L,K;
cin>>L>>K;
int c=0;
do
{
L-=K*2;
c++;
}while(L<=0);
cout<<K*(c-1)<<endl;
}
IRXGCGySDjxVBhf