結果
問題 | No.892 タピオカ |
ユーザー |
![]() |
提出日時 | 2019-12-23 22:51:22 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 30 ms / 1,000 ms |
コード長 | 284 bytes |
コンパイル時間 | 1,752 ms |
コンパイル使用メモリ | 113,116 KB |
実行使用メモリ | 27,004 KB |
最終ジャッジ日時 | 2024-09-19 03:11:14 |
合計ジャッジ時間 | 2,605 ms |
ジャッジサーバーID (参考情報) |
judge4 / 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.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); } }