結果
| 問題 | No.63 ポッキーゲーム |
| コンテスト | |
| ユーザー |
hamray
|
| 提出日時 | 2017-11-16 18:38:24 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 399 bytes |
| 記録 | |
| コンパイル時間 | 364 ms |
| コンパイル使用メモリ | 94,048 KB |
| 実行使用メモリ | 9,876 KB |
| 最終ジャッジ日時 | 2026-09-29 17:34:40 |
| 合計ジャッジ時間 | 2,460 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 10 |
ソースコード
#include<iostream>
#include<iomanip>
#include<cmath>
#include<string>
#include<algorithm>
#include<vector>
#include<math.h>
#include<stack>
#include <typeinfo>
using namespace std;
int main(void){
long L, K; cin >> L >> K;
long len = L / 2;
long cnt = 0;
for(;;){
len -= K;
cnt++;
if(len < K) break;
}
cout << K * cnt << endl;
return 0;
}
hamray