結果
問題 |
No.892 タピオカ
|
ユーザー |
![]() |
提出日時 | 2019-12-05 01:15:47 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 688 bytes |
コンパイル時間 | 2,389 ms |
コンパイル使用メモリ | 114,020 KB |
実行使用メモリ | 27,040 KB |
最終ジャッジ日時 | 2024-12-14 19:21:26 |
合計ジャッジ時間 | 3,312 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 WA * 2 |
コンパイルメッセージ
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] % 2 == 0 && AB[2] % 2 == 0 && AB[4] % 2 == 0) { WriteLine(":-)"); } else { WriteLine(":-("); } } } }