結果
| 問題 | No.63 ポッキーゲーム |
| コンテスト | |
| ユーザー |
funakoshi
|
| 提出日時 | 2019-08-08 11:07:42 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
AC
|
| 実行時間 | 201 ms / 5,000 ms |
| コード長 | 326 bytes |
| 記録 | |
| コンパイル時間 | 192 ms |
| コンパイル使用メモリ | 37,440 KB |
| 最終ジャッジ日時 | 2026-02-22 04:10:12 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{
int plength,elength,yuulength=0;;
scanf("%d %d",&plength,&elength);
while(1)
{
plength-=elength*2;
if(plength<=0)
{
break;
}
yuulength+=elength;
}
printf("%d",yuulength);
}
funakoshi