結果
| 問題 |
No.63 ポッキーゲーム
|
| コンテスト | |
| ユーザー |
unyaunya
|
| 提出日時 | 2018-02-14 00:02:51 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 365 ms / 5,000 ms |
| コード長 | 255 bytes |
| コンパイル時間 | 817 ms |
| コンパイル使用メモリ | 67,904 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-14 12:29:37 |
| 合計ジャッジ時間 | 2,618 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <cctype>
#define P(x) cout <<x<<endl
using namespace std;
int main(){
int l,k;
cin >> l >> k ;
int c=0;
while(l>2*k){
c++;
l -= 2*k;
}
P(c*k);
}
unyaunya