結果
問題 |
No.1527 Input Constant is Good
|
ユーザー |
|
提出日時 | 2022-08-05 21:12:49 |
言語 | C# (.NET 8.0.404) |
結果 |
WA
|
実行時間 | - |
コード長 | 563 bytes |
コンパイル時間 | 12,863 ms |
コンパイル使用メモリ | 170,140 KB |
実行使用メモリ | 187,540 KB |
最終ジャッジ日時 | 2024-09-15 17:02:35 |
合計ジャッジ時間 | 14,434 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 5 WA * 4 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (97 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; using System.Linq; class Program { static void Main() { var instant = new InputTestCase(); var inp = instant.InputArrayInt(); var ans = inp[0] < inp[1] ? "Yes" : "No"; Console.WriteLine(ans); } } public class InputTestCase { public int[] InputArrayInt() { return Console.ReadLine().Split().Select(int.Parse).ToArray(); } public string InputStr() { return Console.ReadLine(); } public string[] InputMix() { return Console.ReadLine().Split(); } }