結果
問題 | No.63 ポッキーゲーム |
ユーザー |
|
提出日時 | 2017-12-05 15:00:55 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 195 ms / 5,000 ms |
コード長 | 222 bytes |
コンパイル時間 | 610 ms |
コンパイル使用メモリ | 53,848 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-24 05:48:15 |
合計ジャッジ時間 | 2,399 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include <iostream> int main() { int L, K; int ate_y = 0; std::cin >> L >> K; while (L > K*2) { L -= K*2; ate_y += K; } std::cout << ate_y << std::endl; return 0; }