結果

問題 No.892 タピオカ
ユーザー ixTL255ixTL255
提出日時 2019-12-23 22:51:22
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 30 ms / 1,000 ms
コード長 284 bytes
コンパイル時間 1,793 ms
コンパイル使用メモリ 110,776 KB
実行使用メモリ 25,288 KB
最終ジャッジ日時 2023-10-19 06:50:34
合計ジャッジ時間 3,334 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
25,288 KB
testcase_01 AC 29 ms
25,288 KB
testcase_02 AC 30 ms
25,288 KB
testcase_03 AC 29 ms
25,288 KB
testcase_04 AC 29 ms
25,288 KB
testcase_05 AC 30 ms
25,288 KB
testcase_06 AC 29 ms
25,288 KB
testcase_07 AC 29 ms
25,288 KB
testcase_08 AC 29 ms
25,276 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 System.Linq;

public class Yuki892
{
	public static void Main()
	{
		var a = Console.ReadLine().Split().Select(x => int.Parse(x)).ToList();
		var ans = ((a[0] + a[2]+ a[4]) % 2 == 0 ? ":-)" : ":-(");
		Console.WriteLine(ans);
	}
}
0