結果
問題 | No.63 ポッキーゲーム |
ユーザー |
![]() |
提出日時 | 2022-12-11 12:24:14 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 192 bytes |
コンパイル時間 | 1,030 ms |
コンパイル使用メモリ | 27,264 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-15 09:37:23 |
合計ジャッジ時間 | 1,714 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 WA * 7 |
ソースコード
#include <stdio.h> int main(void){ int L, K; scanf("%d %d\n", &L, &K); if(L/2 % K) printf("%d\n", L/2 / K * K); else printf("%d\n", L/2 / K * K - K); return 0; }