結果
| 問題 |
No.63 ポッキーゲーム
|
| コンテスト | |
| ユーザー |
water
|
| 提出日時 | 2020-03-08 13:15:52 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 378 ms / 5,000 ms |
| コード長 | 215 bytes |
| コンパイル時間 | 1,752 ms |
| コンパイル使用メモリ | 165,152 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-07 01:02:33 |
| 合計ジャッジ時間 | 3,766 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include <bits/stdc++.h>
#define INF 990000000
//5
using namespace std;
int main() {
int s,t;
cin>>s;
cin>>t;
int count=0;
while(true){
count++;
s-=(t*2);
if(s<=0){
break;
}
}
cout <<(t)*(count-1)<<endl;
}
water