結果
| 問題 |
No.63 ポッキーゲーム
|
| コンテスト | |
| ユーザー |
pracode
|
| 提出日時 | 2018-09-17 18:36:48 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 215 bytes |
| コンパイル時間 | 83 ms |
| コンパイル使用メモリ | 28,672 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-18 07:46:56 |
| 合計ジャッジ時間 | 1,233 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 WA * 8 |
ソースコード
#include <stdio.h>
int main()
{
int l,k;
int i=0;
int ans;
scanf("%d%d",&l,&k);
while((l-2*k)>=0){
i++;
l-=2*k;
}
ans=k*i;
printf("%d",ans);
return 0;
}
pracode