結果
問題 | No.2736 About half |
ユーザー |
![]() |
提出日時 | 2024-04-30 21:04:36 |
言語 | C# (.NET 8.0.404) |
結果 |
AC
|
実行時間 | 54 ms / 2,000 ms |
コード長 | 263 bytes |
コンパイル時間 | 12,154 ms |
コンパイル使用メモリ | 166,904 KB |
実行使用メモリ | 183,152 KB |
最終ジャッジ日時 | 2024-11-20 18:57:31 |
合計ジャッジ時間 | 12,948 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (98 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System;class Program{static void Main(){string[] input = Console.ReadLine().Split(' ');int A = int.Parse(input[0]);int B = int.Parse(input[1]);if(A > 2*B || B > 2*A)Console.WriteLine("No");elseConsole.WriteLine("Yes");}}