結果
問題 |
No.63 ポッキーゲーム
|
ユーザー |
|
提出日時 | 2022-11-10 00:41:57 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 227 bytes |
コンパイル時間 | 150 ms |
コンパイル使用メモリ | 27,904 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-23 05:29:03 |
合計ジャッジ時間 | 897 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 WA * 9 |
ソースコード
#include <stdio.h> int main(void) { float K, L, j, total, i; int d, e; scanf("%f%f",&L,&K); i = L/(2*K); if (i==1){ printf("%d\n", 0); } else{ d = (int)i; e = (int)K; printf("%d\n", d*e); } return 0; }