結果
問題 | No.892 タピオカ |
ユーザー |
![]() |
提出日時 | 2019-12-05 01:59:44 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 30 ms / 1,000 ms |
コード長 | 658 bytes |
コンパイル時間 | 3,653 ms |
コンパイル使用メモリ | 111,064 KB |
実行使用メモリ | 27,120 KB |
最終ジャッジ日時 | 2024-12-15 02:35:24 |
合計ジャッジ時間 | 4,595 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Text; using System.Linq; using System.Collections; using System.Collections.Generic; using static System.Console; using static System.Math; namespace YukiCoder { public class Program { public static void Main(string[] args) { new Program().Solve(); } public void Solve() { int[] AB = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray(); if ((AB[0] + AB[2] + AB[4]) % 2 == 0) { WriteLine(":-)"); } else { WriteLine(":-("); } } } }