結果

問題 No.892 タピオカ
ユーザー hayashihayashi
提出日時 2019-10-29 14:43:09
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 55 ms / 1,000 ms
コード長 529 bytes
コンパイル時間 2,038 ms
コンパイル使用メモリ 103,048 KB
実行使用メモリ 22,852 KB
最終ジャッジ日時 2023-10-12 23:22:12
合計ジャッジ時間 3,186 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
20,672 KB
testcase_01 AC 55 ms
20,700 KB
testcase_02 AC 55 ms
20,784 KB
testcase_03 AC 55 ms
20,612 KB
testcase_04 AC 55 ms
20,752 KB
testcase_05 AC 55 ms
20,752 KB
testcase_06 AC 55 ms
20,800 KB
testcase_07 AC 55 ms
22,852 KB
testcase_08 AC 55 ms
20,816 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.Collections.Generic;
using static System.Console;
namespace ConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] N = ReadLine().Split(' ');
            int A = int.Parse(N[0]);
            int B = int.Parse(N[2]);
            int C = int.Parse(N[4]);

            if((A + B + C) % 2 == 0)
            {
                WriteLine(":-)");
            }
            else
            {
                WriteLine(":-(");
            }
        }
    }
}
0