結果

問題 No.63 ポッキーゲーム
ユーザー keymoonkeymoon
提出日時 2019-02-23 16:55:02
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 65 ms / 5,000 ms
コード長 494 bytes
コンパイル時間 2,505 ms
コンパイル使用メモリ 101,840 KB
実行使用メモリ 23,952 KB
最終ジャッジ日時 2023-08-20 11:47:39
合計ジャッジ時間 4,603 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
23,864 KB
testcase_01 AC 62 ms
23,868 KB
testcase_02 AC 64 ms
23,816 KB
testcase_03 AC 63 ms
19,736 KB
testcase_04 AC 62 ms
21,836 KB
testcase_05 AC 62 ms
21,732 KB
testcase_06 AC 63 ms
23,808 KB
testcase_07 AC 63 ms
23,796 KB
testcase_08 AC 63 ms
23,936 KB
testcase_09 AC 64 ms
21,776 KB
testcase_10 AC 63 ms
23,880 KB
testcase_11 AC 64 ms
21,716 KB
testcase_12 AC 63 ms
21,844 KB
testcase_13 AC 63 ms
23,952 KB
testcase_14 AC 63 ms
21,936 KB
testcase_15 AC 62 ms
21,788 KB
testcase_16 AC 62 ms
21,780 KB
testcase_17 AC 62 ms
21,784 KB
testcase_18 AC 63 ms
21,896 KB
testcase_19 AC 65 ms
23,916 KB
testcase_20 AC 62 ms
21,696 KB
testcase_21 AC 63 ms
23,772 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
using Int = System.Int64;
using Debug = System.Diagnostics.Debug;

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