結果
問題 |
No.2322 MMA文字列
|
ユーザー |
|
提出日時 | 2024-01-16 05:37:51 |
言語 | C# (.NET 8.0.404) |
結果 |
WA
|
実行時間 | - |
コード長 | 394 bytes |
コンパイル時間 | 6,673 ms |
コンパイル使用メモリ | 166,512 KB |
実行使用メモリ | 181,472 KB |
最終ジャッジ日時 | 2024-09-28 02:26:37 |
合計ジャッジ時間 | 8,498 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 14 WA * 5 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (84 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() { Console.Write(""); string S = Console.ReadLine(); if (S.Length != 3) { Console.WriteLine("No"); return; } if (S[0] == S[1]) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } }