結果
問題 | No.63 ポッキーゲーム |
ユーザー |
![]() |
提出日時 | 2020-05-15 09:01:12 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 175 bytes |
コンパイル時間 | 246 ms |
コンパイル使用メモリ | 27,648 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-17 15:02:55 |
合計ジャッジ時間 | 1,148 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include<stdio.h> int main(void){ int L, K, count; scanf("%d %d", &L, &K); count = (L + 2 * K - 1) / (2 * K) - 1; printf("%d", count * K); return 0; }