結果
問題 |
No.1027 U+1F4A0
|
ユーザー |
![]() |
提出日時 | 2020-04-17 21:25:58 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 549 bytes |
コンパイル時間 | 902 ms |
コンパイル使用メモリ | 108,372 KB |
実行使用メモリ | 27,416 KB |
最終ジャッジ日時 | 2024-10-03 11:08:30 |
合計ジャッジ時間 | 2,668 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 WA * 7 |
コンパイルメッセージ
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; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Numerics; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using static System.Math; public static class P { public static void Main() { //💠 var d1d2 = Console.ReadLine().Split().Select(int.Parse).ToArray(); var d1 = d1d2[0]; var d2 = d1d2[1]; Console.WriteLine(2 * d1 < d2 ? 0 : 2 * d1 == d2 ? 4 : 8); } }