結果

問題 No.560 ふしぎなナップサック
ユーザー bluemeganebluemegane
提出日時 2018-09-10 20:12:28
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 277 bytes
コンパイル時間 2,039 ms
コンパイル使用メモリ 100,876 KB
実行使用メモリ 24,836 KB
最終ジャッジ日時 2023-08-30 02:03:57
合計ジャッジ時間 4,054 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
22,392 KB
testcase_01 AC 62 ms
22,372 KB
testcase_02 AC 62 ms
22,468 KB
testcase_03 AC 58 ms
22,712 KB
testcase_04 AC 62 ms
22,700 KB
testcase_05 AC 61 ms
22,600 KB
testcase_06 AC 62 ms
22,700 KB
testcase_07 AC 62 ms
22,684 KB
testcase_08 AC 62 ms
24,836 KB
testcase_09 AC 63 ms
22,644 KB
testcase_10 AC 63 ms
22,524 KB
testcase_11 AC 62 ms
22,508 KB
testcase_12 AC 63 ms
22,516 KB
testcase_13 AC 61 ms
22,644 KB
testcase_14 AC 63 ms
24,556 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class Hello
{
    public static void Main()
    {
        string[] line = Console.ReadLine().Trim().Split(' ');
        var m = int.Parse(line[0]);
        var n = int.Parse(line[1]);
        var ans = m + n / 3.0;
        Console.WriteLine(ans);
    }
}
0