結果
問題 | No.892 タピオカ |
ユーザー | curryudon08 |
提出日時 | 2020-06-13 17:40:49 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 782 bytes |
コンパイル時間 | 3,134 ms |
コンパイル使用メモリ | 105,220 KB |
実行使用メモリ | 22,976 KB |
最終ジャッジ日時 | 2023-09-07 22:17:36 |
合計ジャッジ時間 | 6,476 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 60 ms
20,976 KB |
testcase_01 | AC | 63 ms
22,920 KB |
testcase_02 | AC | 62 ms
22,976 KB |
testcase_03 | TLE | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Numerics; namespace _0892 { class Program { static void Main(string[] args) { var _ = Console.ReadLine().Split(); var a = new int[3]; var b = new int[3]; a[0] = int.Parse(_[0]); b[0] = int.Parse(_[1]); a[1] = int.Parse(_[2]); b[1] = int.Parse(_[3]); a[2] = int.Parse(_[4]); b[2] = int.Parse(_[5]); BigInteger ans = 0; for(var i = 0; i < 3; i++){ BigInteger x = 1; for(var j = 0; j < b[i]; j++){ x *= a[i]; } ans += x; } Console.WriteLine(ans % 2 == 0 ? ":-)" : ":-("); } } }