結果

問題 No.353 ヘイトプラス
ユーザー qwrtpsfgqwrtpsfg
提出日時 2017-08-17 09:24:21
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 56 ms / 1,000 ms
コード長 304 bytes
コンパイル時間 2,114 ms
コンパイル使用メモリ 105,184 KB
実行使用メモリ 25,916 KB
最終ジャッジ日時 2023-09-16 23:55:41
合計ジャッジ時間 3,365 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
21,848 KB
testcase_01 AC 56 ms
25,916 KB
testcase_02 AC 54 ms
23,904 KB
testcase_03 AC 53 ms
23,868 KB
testcase_04 AC 53 ms
21,964 KB
testcase_05 AC 53 ms
21,760 KB
testcase_06 AC 53 ms
21,948 KB
testcase_07 AC 53 ms
21,836 KB
testcase_08 AC 53 ms
21,792 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.Linq;

public class yukicoder
{
    public static void Main()
    {
        long[] input = Console.ReadLine().Split(' ').Select(x => long.Parse(x)).ToArray();
        long a = input[0] * -1;
        long b = input[1];
        
        Console.WriteLine((a - b) * -1);

    }
}
0