結果
問題 |
No.3035 文字列のみの反転
|
ユーザー |
![]() |
提出日時 | 2025-01-08 23:06:19 |
言語 | C# (.NET 8.0.404) |
結果 |
AC
|
実行時間 | 58 ms / 2,000 ms |
コード長 | 151 bytes |
コンパイル時間 | 13,671 ms |
コンパイル使用メモリ | 169,884 KB |
実行使用メモリ | 185,360 KB |
最終ジャッジ日時 | 2025-01-17 22:36:37 |
合計ジャッジ時間 | 9,832 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (121 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
string S = Console.ReadLine(); Console.WriteLine(new string(S.Where(x => !char.IsDigit(x)).Reverse().Concat(S.Where(x => char.IsDigit(x))).ToArray()));