結果

問題 No.353 ヘイトプラス
ユーザー swdamdrswdamdr
提出日時 2017-01-25 17:29:04
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 58 ms / 1,000 ms
コード長 316 bytes
コンパイル時間 1,977 ms
コンパイル使用メモリ 101,320 KB
実行使用メモリ 20,940 KB
最終ジャッジ日時 2023-09-16 23:51:27
合計ジャッジ時間 3,163 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
20,688 KB
testcase_01 AC 57 ms
20,728 KB
testcase_02 AC 55 ms
18,628 KB
testcase_03 AC 56 ms
18,740 KB
testcase_04 AC 58 ms
20,828 KB
testcase_05 AC 56 ms
20,748 KB
testcase_06 AC 58 ms
20,756 KB
testcase_07 AC 56 ms
20,940 KB
testcase_08 AC 57 ms
20,808 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;
using System.Collections.Generic;

class Program
{
    static void Main(string[] args)
    {
        string[] s = Console.ReadLine().Split();
        int a = int.Parse(s[0]);
        int b = int.Parse(s[1]);

        Console.WriteLine(a - (-1 * b));
        Console.Read();
    }
}

0