結果

問題 No.46 はじめのn歩
ユーザー SojiroNishimuraSojiroNishimura
提出日時 2018-03-21 10:37:13
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 267 bytes
コンパイル時間 2,002 ms
コンパイル使用メモリ 102,168 KB
実行使用メモリ 24,792 KB
最終ジャッジ日時 2023-09-07 00:49:13
合計ジャッジ時間 3,371 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 59 ms
20,756 KB
testcase_02 WA -
testcase_03 AC 58 ms
20,760 KB
testcase_04 AC 60 ms
20,764 KB
testcase_05 AC 59 ms
22,728 KB
testcase_06 WA -
testcase_07 AC 59 ms
22,832 KB
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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;

class Problem
{
    public static void Main(string[] args)
    {
        var input = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);
        Console.WriteLine($"{(input[0] + input[1]) / input[0]}");
    }
}
0