結果

問題 No.63 ポッキーゲーム
ユーザー iwkjosec
提出日時 2018-02-23 17:40:16
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 268 bytes
コンパイル時間 1,045 ms
コンパイル使用メモリ 103,552 KB
実行使用メモリ 18,944 KB
最終ジャッジ日時 2024-10-08 15:12:18
合計ジャッジ時間 2,568 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 19
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;

class Program
{
    static void Main()
    {
        var lk = ReadLine().Split().Select(int.Parse).ToArray();
        WriteLine((lk[0] - 1) / (lk[1] * 2) * lk[0]);
    }
}
0