結果
| 問題 |
No.63 ポッキーゲーム
|
| コンテスト | |
| ユーザー |
FVRChan
|
| 提出日時 | 2017-07-27 14:59:07 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 200 ms / 5,000 ms |
| コード長 | 198 bytes |
| コンパイル時間 | 882 ms |
| コンパイル使用メモリ | 56,156 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-24 05:37:18 |
| 合計ジャッジ時間 | 2,265 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include<iostream>
#include<string>
#include<algorithm>
#include<utility>
using namespace std;
int main(void){
int l,k,sum=0;
cin>>l>>k;
while(l>2*k){
sum+=k;
l-=2*k;
}
cout<<sum<<endl;
}
FVRChan